commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [1/2] [math] Missing @Override.
Date Sun, 06 Sep 2015 18:21:49 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master b10b90b0a -> 2091cfbab


Missing @Override.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/870d11b6
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/870d11b6
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/870d11b6

Branch: refs/heads/master
Commit: 870d11b6662dad5980ae2684aa05b1be2c5cce03
Parents: b10b90b
Author: Luc Maisonobe <luc@apache.org>
Authored: Sun Sep 6 19:49:51 2015 +0200
Committer: Luc Maisonobe <luc@apache.org>
Committed: Sun Sep 6 19:49:51 2015 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java   | 1 +
 .../apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java  | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/870d11b6/src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java b/src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java
index b8efce1..6d2f63a 100644
--- a/src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java
+++ b/src/main/java/org/apache/commons/math4/ml/neuralnet/MapUtils.java
@@ -319,6 +319,7 @@ public class MapUtils {
         }
 
         /** {@inheritDoc} */
+        @Override
         public int compareTo(PairNeuronDouble other) {
             return Double.compare(this.value, other.value);
         }

http://git-wip-us.apache.org/repos/asf/commons-math/blob/870d11b6/src/main/java/org/apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java
b/src/main/java/org/apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java
index 87fbe44..2ad150b 100644
--- a/src/main/java/org/apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java
+++ b/src/main/java/org/apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java
@@ -199,6 +199,7 @@ public class NeuronSquareMesh2D
     }
 
     /** {@inheritDoc} */
+    @Override
     public Iterator<Neuron> iterator() {
         return network.iterator();
     }


Mime
View raw message