Skip to content

Commit 201916f

Browse files
committed
Fix compile error with the usage of List.of
1 parent 18ca430 commit 201916f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/rx/VectorIndexTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void afterClass() {
8080

8181
@Test(groups = {"emulator"}, timeOut = TIMEOUT*10000)
8282
public void shouldCreateVectorEmbeddingPolicy() {
83-
ArrayList<String> paths = new ArrayList<>(List.of("/mypk"));
83+
ArrayList<String> paths = new ArrayList<>(Arrays.asList("/mypk"));
8484
PartitionKeyDefinition partitionKeyDef = new PartitionKeyDefinition()
8585
.setPaths(paths);
8686

0 commit comments

Comments
 (0)