File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
jsonb-generator/src/main/java/io/avaje/jsonb/generator Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,7 @@ private void registerCustomAdapters(Set<? extends Element> elements) {
146
146
.findFirst ()
147
147
.ifPresentOrElse (
148
148
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" ));
151
150
152
151
meta .addFactory (type );
153
152
} else {
@@ -160,8 +159,7 @@ private void registerCustomAdapters(Set<? extends Element> elements) {
160
159
.findAny ()
161
160
.ifPresentOrElse (
162
161
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" ));
165
163
166
164
meta .add (type );
167
165
}
You can’t perform that action at this time.
0 commit comments