dcapwell commented on code in PR #2976:
URL: https://github.com/apache/cassandra/pull/2976#discussion_r1420905275
##########
src/java/org/apache/cassandra/db/compaction/PendingRepairManager.java:
##########
@@ -465,7 +465,7 @@ public boolean hasStrategy(AbstractCompactionStrategy
strategy)
public synchronized boolean hasDataForSession(TimeUUID sessionID)
{
- return strategies.keySet().contains(sessionID);
+ return strategies.containsKey(sessionID);
Review Comment:
code cleanup, not correctness issue... just saw while reviewing the code
--
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]