test/java/util/concurrent/ExecutorCompletionService/LoopHelpers.java

Print this page

        

@@ -76,13 +76,13 @@
     /**
      * An actually useful random number generator, but unsynchronized.
      * Basically same as java.util.Random.
      */
     public static class SimpleRandom {
-        private final static long multiplier = 0x5DEECE66DL;
-        private final static long addend = 0xBL;
-        private final static long mask = (1L << 48) - 1;
+        private static final long multiplier = 0x5DEECE66DL;
+        private static final long addend = 0xBL;
+        private static final long mask = (1L << 48) - 1;
         static final AtomicLong seq = new AtomicLong(1);
         private long seed = System.nanoTime() + seq.getAndIncrement();
 
         public void setSeed(long s) {
             seed = s;