maedhroz commented on code in PR #3194:
URL: https://github.com/apache/cassandra/pull/3194#discussion_r1543861355


##########
test/unit/org/apache/cassandra/index/sai/utils/SAIRandomizedTester.java:
##########
@@ -129,6 +129,16 @@ public static int between(int min, int max)
         return getRandom().nextIntBetween(min, max - 1);
     }
 
+    public static double nextDouble()
+    {
+        return randomDoubleBetween(0, 1);

Review Comment:
   nit: I think this could also just be `getRandom().nextDouble()`?



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

Reply via email to