Skip to content

Commit ff35475

Browse files
committed
Format logError() methods
1 parent 38f6ad0 commit ff35475

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

jsonb-generator/src/main/java/io/avaje/jsonb/generator/JsonbProcessor.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ private void registerCustomAdapters(Set<? extends Element> elements) {
146146
.findFirst()
147147
.ifPresentOrElse(
148148
x -> {},
149-
() ->
150-
logError(typeElement, "Generic adapters require a public static AdapterFactory FACTORY field"));
149+
() -> logError(typeElement, "Generic adapters require a public static AdapterFactory FACTORY field"));
151150

152151
meta.addFactory(type);
153152
} else {
@@ -160,8 +159,7 @@ private void registerCustomAdapters(Set<? extends Element> elements) {
160159
.findAny()
161160
.ifPresentOrElse(
162161
x -> {},
163-
() ->
164-
logNote(typeElement, "Non-Generic adapters should have a public constructor with a single Jsonb parameter"));
162+
() -> logNote(typeElement, "Non-Generic adapters should have a public constructor with a single Jsonb parameter"));
165163

166164
meta.add(type);
167165
}

0 commit comments

Comments
 (0)