You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by lu...@apache.org on 2007/02/26 23:44:19 UTC
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
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