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 16
16
import java .util .List ;
17
17
18
18
final class ComponentReader {
19
-
19
+
20
20
private final ComponentMetaData componentMetaData ;
21
21
22
22
ComponentReader (ComponentMetaData metaData ) {
@@ -44,16 +44,14 @@ private void readMetaData(TypeElement moduleType) {
44
44
final FactoryPrism metaDataFactory = FactoryPrism .getInstance (annotationMirror );
45
45
46
46
if (metaData != null ) {
47
-
48
47
metaData .value ().stream ()
49
48
.map (TypeMirror ::toString )
50
49
.forEach (componentMetaData ::add );
51
50
52
51
} else if (metaDataFactory != null ) {
53
-
54
52
metaDataFactory .value ().stream ()
55
53
.map (TypeMirror ::toString )
56
- .forEach (componentMetaData ::add );
54
+ .forEach (componentMetaData ::addFactory );
57
55
}
58
56
}
59
57
}
You can’t perform that action at this time.
0 commit comments