keith-turner commented on code in PR #4748:
URL: https://github.com/apache/accumulo/pull/4748#discussion_r1707974994


##########
core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java:
##########
@@ -96,7 +97,10 @@ public abstract class ByteSequence implements 
Comparable<ByteSequence>, Serializ
    */
   public static int compareBytes(ByteSequence bs1, ByteSequence bs2) {
 
-    int minLen = Math.min(bs1.length(), bs2.length());
+    int len1 = bs1.length();
+    int len2 = bs2.length();
+
+    int minLen = Math.min(len1, len2);

Review Comment:
   Updated in a7bf73f



-- 
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]

Reply via email to