commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r787067 - /commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
Date Sun, 21 Jun 2009 19:04:04 GMT
Author: psteitz
Date: Sun Jun 21 19:04:04 2009
New Revision: 787067

URL: http://svn.apache.org/viewvc?rev=787067&view=rev
Log:
Made protected fields private.  JIRA: MATH-207.

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java?rev=787067&r1=787066&r2=787067&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java
Sun Jun 21 19:04:04 2009
@@ -56,19 +56,19 @@
     }
       
     /** the crossover policy used by the algorithm. */
-    protected final CrossoverPolicy crossoverPolicy;
+    private final CrossoverPolicy crossoverPolicy;
 
     /** the rate of crossover for the algorithm. */
-    protected final double crossoverRate;
+    private final double crossoverRate;
 
     /** the mutation policy used by the algorithm. */
-    protected final MutationPolicy mutationPolicy;
+    private final MutationPolicy mutationPolicy;
 
     /** the rate of mutation for the algorithm. */
-    protected final double mutationRate;
+    private final double mutationRate;
 
     /** the selection policy used by the algorithm. */
-    protected final SelectionPolicy selectionPolicy;
+    private final SelectionPolicy selectionPolicy;
     
     /**
      * @param crossoverPolicy The {@link CrossoverPolicy}



Mime
View raw message