Make private static fields final

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-01-25 19:04:32 +00:00
parent d6fc4d3fba
commit 52ec13ba7d
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ public class GeneticAlgorithmTestPermutations {
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);

View File

@ -23,7 +23,7 @@ package org.apache.commons.math.ode;
public class TestProblemFactory {
/** Problems pool. */
private static TestProblemAbstract[] pool = {
private static final TestProblemAbstract[] pool = {
new TestProblem1(),
new TestProblem2(),
new TestProblem3(),