This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 72def51826920006a8254ba38249c5290ba8ad76 Author: aherbert <aherb...@apache.org> AuthorDate: Thu Jul 29 09:38:57 2021 +0100 Remove unnecessary parentheses --- .../org/apache/commons/rng/simple/ProvidersCommonParametricTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java index 5e3ff42..ba4f60c 100644 --- a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java +++ b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java @@ -422,7 +422,7 @@ public class ProvidersCommonParametricTest { Arrays.fill(observed, 0); for (int j = 0; j < sampleSize; j++) { final long value = nextMethod.call().longValue(); - Assert.assertTrue("Range", (value >= 0) && (value < n)); + Assert.assertTrue("Range", value >= 0 && value < n); for (int k = 0; k < numBins; k++) { if (value < binUpperBounds[k]) {