commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1343546 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java
Date Tue, 29 May 2012 05:34:41 GMT
Author: celestin
Date: Tue May 29 05:34:41 2012
New Revision: 1343546

URL: http://svn.apache.org/viewvc?rev=1343546&view=rev
Log:
Added 'final' keyword.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java?rev=1343546&r1=1343545&r2=1343546&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/RealVector.java
Tue May 29 05:34:41 2012
@@ -865,7 +865,7 @@ public abstract class RealVector {
      * the indices are not valid.
      */
     public double walkInDefaultOrder(final RealVectorPreservingVisitor visitor,
-                                     int start, int end) {
+                                     final int start, final int end) {
         checkIndices(start, end);
         visitor.start(getDimension(), start, end);
         for (int i = start; i <= end; i++) {
@@ -904,7 +904,7 @@ public abstract class RealVector {
      * the indices are not valid.
      */
     public double walkInOptimizedOrder(final RealVectorPreservingVisitor visitor,
-                                       int start, int end) {
+                                       final int start, final int end) {
         return walkInDefaultOrder(visitor, start, end);
     }
 
@@ -939,7 +939,7 @@ public abstract class RealVector {
      * the indices are not valid.
      */
     public double walkInDefaultOrder(final RealVectorChangingVisitor visitor,
-                              int start, int end) {
+                              final int start, final int end) {
         checkIndices(start, end);
         visitor.start(getDimension(), start, end);
         for (int i = start; i <= end; i++) {
@@ -978,7 +978,7 @@ public abstract class RealVector {
      * the indices are not valid.
      */
     public double walkInOptimizedOrder(final RealVectorChangingVisitor visitor,
-                                       int start, int end) {
+                                       final int start, final int end) {
         return walkInDefaultOrder(visitor, start, end);
     }
 



Mime
View raw message