commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1343346 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java
Date Mon, 28 May 2012 18:21:40 GMT
Author: celestin
Date: Mon May 28 18:21:39 2012
New Revision: 1343346

URL: http://svn.apache.org/viewvc?rev=1343346&view=rev
Log:
Reverted changes mistakenly committed in r1343342.

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

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java?rev=1343346&r1=1343345&r2=1343346&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java
Mon May 28 18:21:39 2012
@@ -881,26 +881,4 @@ public class ArrayRealVector extends Rea
         }
         return this;
     }
-
-    /** {@inheritDoc} */
-    @Override
-    public double walkInDefaultOrder(final RealVectorPreservingVisitor visitor) {
-        visitor.start(data.length, 0, data.length - 1);
-        for (int i = 0; i < data.length; i++) {
-            visitor.visit(i, data[i]);
-        }
-        return visitor.end();
-    }
-
-    /** {@inheritDoc} */
-    @Override
-    public double walkInDefaultOrder(final RealVectorPreservingVisitor visitor,
-                                     final int start, final int end) {
-        checkIndices(start, end);
-        visitor.start(data.length, start, end);
-        for (int i = start; i <= end; i++) {
-            visitor.visit(i, data[i]);
-        }
-        return visitor.end();
-    }
 }



Mime
View raw message