commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1073262 - /commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
Date Tue, 22 Feb 2011 09:02:25 GMT
Author: luc
Date: Tue Feb 22 09:02:25 2011
New Revision: 1073262

URL: http://svn.apache.org/viewvc?rev=1073262&view=rev
Log:
fixed deprecation message to include the version of the change for getSparcity
fixed the since message to show the getSparsity has been introduced in 2.2

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java?rev=1073262&r1=1073261&r2=1073262&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/linear/OpenMapRealVector.java
Tue Feb 22 09:02:25 2011
@@ -817,7 +817,7 @@ public class OpenMapRealVector extends A
     /**
      *
      * @return the percentage of none zero elements as a decimal percent.
-     * @deprecated Use the correctly spelled {@link #getSparsity()}
+     * @deprecated as of 2.2 replaced by the correctly spelled {@link #getSparsity()}
      */
     @Deprecated
     public double getSparcity() {
@@ -827,6 +827,7 @@ public class OpenMapRealVector extends A
     /**
     *
     * @return the percentage of none zero elements as a decimal percent.
+    * @since 2.2
     */
    public double getSparsity() {
         return (double)entries.size()/(double)getDimension();



Mime
View raw message