You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/03/01 17:33:37 UTC

[GitHub] milleruntime commented on a change in pull request #1002: Fix implicit casts of numbers & int multiplication

milleruntime commented on a change in pull request #1002: Fix implicit casts of numbers & int multiplication
URL: https://github.com/apache/accumulo/pull/1002#discussion_r261692236
 
 

 ##########
 File path: core/src/main/java/org/apache/accumulo/core/clientImpl/ReplicationClient.java
 ##########
 @@ -56,7 +56,7 @@
       log.debug("Could not get ReplicationCoordinator connection to {}, will retry",
           context.getInstanceName());
       try {
-        Thread.sleep(attempts * 250);
+        Thread.sleep((long) attempts * 250);
 
 Review comment:
   I just realized this is another false positive, they should be able to detect since the loop control variable is bounded.  I will report it. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services