commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r512050 - in /jakarta/commons/proper/math/trunk/src: java/org/apache/commons/math/linear/MatrixIndexException.java test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java
Date Mon, 26 Feb 2007 22:44:19 GMT
Author: luc
Date: Mon Feb 26 14:44:18 2007
New Revision: 512050

URL: http://svn.apache.org/viewvc?view=rev&rev=512050
Log:
deprecated the no argument constructor

Modified:
    jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/MatrixIndexException.java
    jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java

Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/MatrixIndexException.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/MatrixIndexException.java?view=diff&rev=512050&r1=512049&r2=512050
==============================================================================
--- jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/MatrixIndexException.java
(original)
+++ jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/linear/MatrixIndexException.java
Mon Feb 26 14:44:18 2007
@@ -29,6 +29,7 @@
 
     /**
      * Default constructor.
+     * @deprecated as of 1.2 replaced by #MatrixIndexException(String)
      */
     public MatrixIndexException() {
         this(null);

Modified: jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java?view=diff&rev=512050&r1=512049&r2=512050
==============================================================================
--- jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java
(original)
+++ jakarta/commons/proper/math/trunk/src/test/org/apache/commons/math/linear/MatrixIndexExceptionTest.java
Mon Feb 26 14:44:18 2007
@@ -23,13 +23,6 @@
  * @version $Revision$ $Date$
  */
 public class MatrixIndexExceptionTest extends TestCase {
-    /**
-     * 
-     */
-    public void testConstructor(){
-        MatrixIndexException ex = new MatrixIndexException();
-        assertNull(ex.getMessage());
-    }
     
     /**
      * 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message