YutSean commented on a change in pull request #3986:
URL: https://github.com/apache/hbase/pull/3986#discussion_r776542739



##########
File path: 
hbase-common/src/test/java/org/apache/hadoop/hbase/util/TestOrderedBytes.java
##########
@@ -1319,4 +1320,20 @@ public void testEncodedValueCheck() {
       OrderedBytes.skip(buff);
     }
   }
+
+  @Test
+  public void testEncodeDecodeMatch() {
+    BigDecimal[] randomData = new BigDecimal[200];
+    Random rand = new Random(System.currentTimeMillis());

Review comment:
       Changed to ThreadLocalRandom and removed the redundant local variable 
array.




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