commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1296517 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
Date Fri, 02 Mar 2012 23:55:08 GMT
Author: sebb
Date: Fri Mar  2 23:55:08 2012
New Revision: 1296517

URL: http://svn.apache.org/viewvc?rev=1296517&view=rev
Log:
Make final, as init in static block

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java?rev=1296517&r1=1296516&r2=1296517&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/RandomDataImpl.java
Fri Mar  2 23:55:08 2012
@@ -120,7 +120,7 @@ public class RandomDataImpl implements R
      *
      * By trying, n = 16 in Java is enough to reach 1.0.
      */
-    private static double[] EXPONENTIAL_SA_QI = null;
+    private static final double[] EXPONENTIAL_SA_QI;
 
     /** underlying random number generator */
     private RandomGenerator rand = null;



Mime
View raw message