File tree 2 files changed +3
-2
lines changed
main/java/com/arangodb/entity
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class InvertedIndexField implements Entity {
18
18
private Boolean searchField ;
19
19
private Boolean trackListPositions ;
20
20
private final Set <AnalyzerFeature > features = new HashSet <>();
21
- private final Collection <InvertedIndexField > nested = new ArrayList <>() ;
21
+ private Collection <InvertedIndexField > nested ;
22
22
23
23
public String getName () {
24
24
return name ;
@@ -79,6 +79,7 @@ public Collection<InvertedIndexField> getNested() {
79
79
}
80
80
81
81
public InvertedIndexField nested (InvertedIndexField ... nested ) {
82
+ if (this .nested == null ) this .nested = new ArrayList <>();
82
83
Collections .addAll (this .nested , nested );
83
84
return this ;
84
85
}
Original file line number Diff line number Diff line change 8
8
</encoder >
9
9
</appender >
10
10
11
- <root level =" debug " >
11
+ <root level =" info " >
12
12
<appender-ref ref =" STDOUT" />
13
13
</root >
14
14
You can’t perform that action at this time.
0 commit comments