We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d58cf69 commit ab50b3bCopy full SHA for ab50b3b
1 file changed
src/main/java/io/weaviate/client6/v1/api/collections/InvertedIndex.java
@@ -1,5 +1,6 @@
1
package io.weaviate.client6.v1.api.collections;
2
3
+import java.util.ArrayList;
4
import java.util.Arrays;
5
import java.util.List;
6
import java.util.function.Function;
@@ -92,8 +93,8 @@ public Stopwords(Builder builder) {
92
93
94
public static class Builder implements ObjectBuilder<Stopwords> {
95
private String preset;
- private List<String> additions;
96
- private List<String> removals;
+ private final List<String> additions = new ArrayList<>();
97
+ private final List<String> removals = new ArrayList<>();
98
99
/** Select a preset to use for a particular language. */
100
public Builder preset(String preset) {
0 commit comments