[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [1/2] [math] Variable can be "final".
From: erans () apache ! org
Date: 2015-08-30 16:59:29
Message-ID: c2144fea29604b618ae6e8df2d33fba0 () git ! apache ! org
[Download RAW message or body]
Repository: commons-math
Updated Branches:
refs/heads/master 9b3cce44e -> ad7d149bc
Variable can be "final".
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/08cc26e7
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/08cc26e7
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/08cc26e7
Branch: refs/heads/master
Commit: 08cc26e70bf145aca293d55fce12aef835263f53
Parents: 9b3cce4
Author: Gilles <erans@apache.org>
Authored: Sun Aug 30 18:48:39 2015 +0200
Committer: Gilles <erans@apache.org>
Committed: Sun Aug 30 18:48:39 2015 +0200
----------------------------------------------------------------------
.../apache/commons/math4/ml/neuralnet/twod/NeuronSquareMesh2D.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/08cc26e7/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 dd6cf6a..d3c233b 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
@@ -324,7 +324,7 @@ public class NeuronSquareMesh2D implements Serializable {
}
}
- int rowOffset = 0;
+ final int rowOffset;
switch (alongColDir) {
case UP:
rowOffset = -1;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic