Skip to content

Commit bd61954

Browse files
author
Mark
committed
improved setter for shardKeys
1 parent 808d229 commit bd61954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/arangodb/model/CollectionCreateOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public String[] getShardKeys() {
186186
* changed once set. This option is meaningless in a single server setup.
187187
* @return options
188188
*/
189-
public CollectionCreateOptions shardKeys(final String[] shardKeys) {
189+
public CollectionCreateOptions shardKeys(final String... shardKeys) {
190190
this.shardKeys = shardKeys;
191191
return this;
192192
}

0 commit comments

Comments
 (0)