commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1557424 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet: Network.java sofm/KohonenUpdateAction.java sofm/LearningFactorFunctionFactory.java sofm/NeighbourhoodSizeFunctionFactory.java
Date Sat, 11 Jan 2014 17:18:21 GMT
Author: luc
Date: Sat Jan 11 17:18:21 2014
New Revision: 1557424

URL: http://svn.apache.org/r1557424
Log:
Removed spurious @Override.

As we are still targeting Java 5, @Override should not be used for mere
interface implementation.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/Network.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateAction.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/LearningFactorFunctionFactory.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/NeighbourhoodSizeFunctionFactory.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/Network.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/Network.java?rev=1557424&r1=1557423&r2=1557424&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/Network.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/Network.java
Sat Jan 11 17:18:21 2014
@@ -69,7 +69,6 @@ public class Network
         private static final long serialVersionUID = 20130207L;
 
         /** {@inheritDoc} */
-        @Override
         public int compare(Neuron a,
                            Neuron b) {
             final long aId = a.getIdentifier();
@@ -138,7 +137,6 @@ public class Network
     /**
      * {@inheritDoc}
      */
-    @Override
     public Iterator<Neuron> iterator() {
         return neuronMap.values().iterator();
     }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateAction.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateAction.java?rev=1557424&r1=1557423&r2=1557424&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateAction.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateAction.java
Sat Jan 11 17:18:21 2014
@@ -91,7 +91,6 @@ public class KohonenUpdateAction impleme
     /**
      * {@inheritDoc}
      */
-    @Override
     public void update(Network net,
                        double[] features) {
         final long numCalls = numberOfCalls.incrementAndGet();

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/LearningFactorFunctionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/LearningFactorFunctionFactory.java?rev=1557424&r1=1557423&r2=1557424&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/LearningFactorFunctionFactory.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/LearningFactorFunctionFactory.java
Sat Jan 11 17:18:21 2014
@@ -68,7 +68,6 @@ public class LearningFactorFunctionFacto
                 = new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
 
             /** {@inheritDoc} */
-            @Override
             public double value(long n) {
                 return decay.value(n);
             }
@@ -110,7 +109,6 @@ public class LearningFactorFunctionFacto
                 = new QuasiSigmoidDecayFunction(initValue, slope, numCall);
 
             /** {@inheritDoc} */
-            @Override
             public double value(long n) {
                 return decay.value(n);
             }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/NeighbourhoodSizeFunctionFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/NeighbourhoodSizeFunctionFactory.java?rev=1557424&r1=1557423&r2=1557424&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/NeighbourhoodSizeFunctionFactory.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ml/neuralnet/sofm/NeighbourhoodSizeFunctionFactory.java
Sat Jan 11 17:18:21 2014
@@ -63,7 +63,6 @@ public class NeighbourhoodSizeFunctionFa
                 = new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
 
             /** {@inheritDoc} */
-            @Override
             public int value(long n) {
                 return (int) FastMath.rint(decay.value(n));
             }
@@ -100,7 +99,6 @@ public class NeighbourhoodSizeFunctionFa
                 = new QuasiSigmoidDecayFunction(initValue, slope, numCall);
 
             /** {@inheritDoc} */
-            @Override
             public int value(long n) {
                 return (int) FastMath.rint(decay.value(n));
             }



Mime
View raw message