Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ public class CreateCollectionReq {
public static abstract class CreateCollectionReqBuilder<C extends CreateCollectionReq, B extends CreateCollectionReq.CreateCollectionReqBuilder<C, B>> {
public B indexParam(IndexParam indexParam) {
try {
if (this.indexParams$value == null) {
this.indexParams$value = new ArrayList<>();
}
this.indexParams$value.add(indexParam);
}catch (UnsupportedOperationException _e){
this.indexParams$value = new ArrayList<>(this.indexParams$value);
Expand Down