From 072539b502a69ef7098c714cf3dcadacd1ac7ccf Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sun, 21 Jun 2009 19:04:04 +0000 Subject: [PATCH] Made protected fields private. JIRA: MATH-207. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787067 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/math/genetics/GeneticAlgorithm.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java b/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java index 179eb1d11..3abc90b82 100644 --- a/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java +++ b/src/java/org/apache/commons/math/genetics/GeneticAlgorithm.java @@ -56,19 +56,19 @@ public class GeneticAlgorithm { } /** 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}