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


The following commit(s) were added to refs/heads/master by this push:
     new a61f9e15 Remove repeated modifier
a61f9e15 is described below

commit a61f9e15b20ef18d21253c6c2a8e2c0d591a3f89
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Mon Sep 2 23:32:50 2024 +0100

    Remove repeated modifier
---
 .../apache/commons/rng/examples/jmh/sampling/ArrayShuffleBenchmark.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/ArrayShuffleBenchmark.java
 
b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/ArrayShuffleBenchmark.java
index 163ce6b1..a4937ac1 100644
--- 
a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/ArrayShuffleBenchmark.java
+++ 
b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/ArrayShuffleBenchmark.java
@@ -246,7 +246,7 @@ public class ArrayShuffleBenchmark {
         long l = m & 0xffffffffL;
         if (l < n) {
             // 2^32 % n
-            final final long t = POW_32 % n;
+            final long t = POW_32 % n;
             while (l < t) {
                 m = (source.nextInt() & 0xffffffffL) * n;
                 l = m & 0xffffffffL;

Reply via email to