commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1296538&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/ArrayFieldVector.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayFieldVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayFieldVector.java?rev=1296538&r1=1296537&r2=1296538&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayFieldVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/ArrayFieldVector.java
Sat Mar  3 00:46:37 2012
@@ -38,8 +38,10 @@ import org.apache.commons.math3.exceptio
 public class ArrayFieldVector<T extends FieldElement<T>> implements FieldVector<T>,
Serializable {
     /** Serializable version identifier. */
     private static final long serialVersionUID = 7648186910365927050L;
+
     /** Entries of the vector. */
-    protected T[] data;
+    private T[] data;
+
     /** Field to which the elements belong. */
     private final Field<T> field;
 



Mime
View raw message