Skip to content

Commit 8093847

Browse files
committed
ninja: get rid of warning during compilation in AccordCQLTestBase.setComplexWithReferenceOnAnotherColumn test by casting stmt.bindsEncoded() value to Object[] to pass to var-arg method
1 parent 397c266 commit 8093847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/distributed/org/apache/cassandra/distributed/test/accord/AccordCQLTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3258,7 +3258,7 @@ public void setComplexWithReferenceOnAnotherColumn() throws Exception
32583258
.value("c", 0)
32593259
.build())
32603260
.build();
3261-
coordinator.execute(stmt.toCQL(), QUORUM, stmt.bindsEncoded());
3261+
coordinator.execute(stmt.toCQL(), QUORUM, (Object[]) stmt.bindsEncoded());
32623262

32633263
// is the data correct?
32643264
var result = coordinator.executeWithResult("SELECT * FROM " + qualifiedAccordTableName, QUORUM);

0 commit comments

Comments
 (0)