frankgh commented on code in PR #160:
URL: https://github.com/apache/cassandra-sidecar/pull/160#discussion_r1879181894
##########
server/src/test/integration/org/apache/cassandra/sidecar/routes/tokenrange/TestTokenSupplier.java:
##########
@@ -86,7 +86,7 @@ private static List<String>[] allocateExistingNodeTokens(int
numNodesPerDC,
List<String>[] tokens = new List[(numNodesPerDC + newNodesPerDC) *
numDcs];
for (int i = 0; i < ((numNodesPerDC + newNodesPerDC) * numDcs); ++i)
{
- tokens[i] = new ArrayList(numTokensPerNode);
+ tokens[i] = new ArrayList<>(numTokensPerNode);
Review Comment:
I think checkstyle was complaining here maybe? or just IDE
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]