Skip to content

Commit

Permalink
get rid of compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dcapwell committed Dec 19, 2024
1 parent 4e85028 commit 587676c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/org/apache/cassandra/cql3/CQLTester.java
Original file line number Diff line number Diff line change
Expand Up @@ -2653,12 +2653,12 @@ protected String createIndexName()

protected UntypedResultSet execute(org.apache.cassandra.cql3.ast.Statement stmt)
{
return executeFormattedQuery(stmt.toCQL(), stmt.bindsEncoded());
return executeFormattedQuery(stmt.toCQL(), (Object[]) stmt.bindsEncoded());
}

protected ResultSet executeNet(ProtocolVersion protocolVersion, org.apache.cassandra.cql3.ast.Statement stmt)
{
return sessionNet(protocolVersion).execute(stmt.toCQL(), stmt.bindsEncoded());
return sessionNet(protocolVersion).execute(stmt.toCQL(), (Object[]) stmt.bindsEncoded());
}

@FunctionalInterface
Expand Down

0 comments on commit 587676c

Please sign in to comment.