Skip to content

Commit

Permalink
Remove unnecessary method reference
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Apr 28, 2023
1 parent 85520be commit 1a18786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json/src/main/java/io/airlift/json/JsonCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
public class JsonCodec<T>
{
private static final Supplier<ObjectMapper> OBJECT_MAPPER_SUPPLIER = Suppliers.memoize(
() -> new ObjectMapperProvider().get().enable(INDENT_OUTPUT))::get;
() -> new ObjectMapperProvider().get().enable(INDENT_OUTPUT));

public static <T> JsonCodec<T> jsonCodec(Class<T> type)
{
Expand Down

0 comments on commit 1a18786

Please sign in to comment.