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 @@ -54,8 +54,7 @@ static void init(ProcessingEnvironment processingEnv) {
54
54
55
55
private static boolean initPreviewEnabled (ProcessingEnvironment processingEnv ) {
56
56
try {
57
- return (boolean )
58
- ProcessingEnvironment .class .getDeclaredMethod ("isPreviewEnabled" ).invoke (processingEnv );
57
+ return (boolean ) ProcessingEnvironment .class .getDeclaredMethod ("isPreviewEnabled" ).invoke (processingEnv );
59
58
} catch (final Throwable e ) {
60
59
return false ;
61
60
}
@@ -126,8 +125,7 @@ static ProcessingEnvironment env() {
126
125
127
126
static void addImportedPrism (ImportPrism prism , Element element ) {
128
127
if (!prism .subtypes ().isEmpty () && prism .value ().size () > 1 ) {
129
- logError (
130
- element , "subtypes cannot be used when an import annotation imports more than one class" );
128
+ logError (element , "subtypes cannot be used when an import annotation imports more than one class" );
131
129
return ;
132
130
}
133
131
final var json = CTX .get ().importedJsonMap ;
You can’t perform that action at this time.
0 commit comments