File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
algoliasearch/src/main/java/com/algolia/model/ingestion Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 13
13
public class TransformationSearch {
14
14
15
15
@ JsonProperty ("transformationIDs" )
16
- private List <String > transformationIDs ;
16
+ private List <String > transformationIDs = new ArrayList <>() ;
17
17
18
18
public TransformationSearch setTransformationIDs (List <String > transformationIDs ) {
19
19
this .transformationIDs = transformationIDs ;
20
20
return this ;
21
21
}
22
22
23
23
public TransformationSearch addTransformationIDs (String transformationIDsItem ) {
24
- if (this .transformationIDs == null ) {
25
- this .transformationIDs = new ArrayList <>();
26
- }
27
24
this .transformationIDs .add (transformationIDsItem );
28
25
return this ;
29
26
}
30
27
31
28
/** Get transformationIDs */
32
- @ javax .annotation .Nullable
29
+ @ javax .annotation .Nonnull
33
30
public List <String > getTransformationIDs () {
34
31
return transformationIDs ;
35
32
}
You can’t perform that action at this time.
0 commit comments