Author: sebb
Date: Mon Jan 25 19:04:32 2010
New Revision: 902930

URL: http://svn.apache.org/viewvc?rev=902930&view=rev
Log:
Make private static fields final

Modified:
    
commons/proper/math/trunk/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java
    
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemFactory.java

Modified: 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java?rev=902930&r1=902929&r2=902930&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java
 (original)
+++ 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/genetics/GeneticAlgorithmTestPermutations.java
 Mon Jan 25 19:04:32 2010
@@ -41,7 +41,7 @@
     private static final int TOURNAMENT_ARITY = 2;
 
     // numbers from 0 to N-1
-    private static List<Integer> sequence = new ArrayList<Integer>();
+    private static final List<Integer> sequence = new ArrayList<Integer>();
     static {
         for (int i=0; i<DIMENSION; i++) {
             sequence.add(i);

Modified: 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemFactory.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemFactory.java?rev=902930&r1=902929&r2=902930&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemFactory.java
 (original)
+++ 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/TestProblemFactory.java
 Mon Jan 25 19:04:32 2010
@@ -23,7 +23,7 @@
 public class TestProblemFactory {
 
   /** Problems pool. */
-  private static TestProblemAbstract[] pool = {
+  private static final TestProblemAbstract[] pool = {
     new TestProblem1(),
     new TestProblem2(),
     new TestProblem3(),


Reply via email to