commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1296539 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayRealVector.java
Date Sat, 03 Mar 2012 00:47:39 GMT
Author: sebb
Date: Sat Mar  3 00:47:39 2012
New Revision: 1296539

URL: http://svn.apache.org/viewvc?rev=1296539&view=rev
Log:
Field might as well be private, as there's a public getter

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=1296539&r1=1296538&r2=1296539&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
Sat Mar  3 00:47:39 2012
@@ -39,8 +39,9 @@ public class ArrayRealVector extends Rea
     private static final long serialVersionUID = -1097961340710804027L;
     /** Default format. */
     private static final RealVectorFormat DEFAULT_FORMAT = RealVectorFormat.getInstance();
+
     /** Entries of the vector. */
-    protected double data[];
+    private double data[];
 
     /**
      * Build a 0-length vector.



Mime
View raw message