commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From celes...@apache.org
Subject svn commit: r1395453 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear: AbstractFieldMatrix.java BlockFieldMatrix.java FieldMatrix.java
Date Mon, 08 Oct 2012 05:19:50 GMT
Author: celestin
Date: Mon Oct  8 05:19:50 2012
New Revision: 1395453

URL: http://svn.apache.org/viewvc?rev=1395453&view=rev
Log:
MATH-854: FieldMatrix.setSubMatrix does *not* throw NumberIsTooSmallException.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/AbstractFieldMatrix.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/BlockFieldMatrix.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/AbstractFieldMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/AbstractFieldMatrix.java?rev=1395453&r1=1395452&r2=1395453&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/AbstractFieldMatrix.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/AbstractFieldMatrix.java
Mon Oct  8 05:19:50 2012
@@ -465,7 +465,7 @@ public abstract class AbstractFieldMatri
     public void setSubMatrix(final T[][] subMatrix, final int row,
                              final int column)
         throws DimensionMismatchException, OutOfRangeException,
-        NoDataException, NullArgumentException, NumberIsTooSmallException {
+        NoDataException, NullArgumentException {
         if (subMatrix == null) {
             throw new NullArgumentException();
         }

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/BlockFieldMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/BlockFieldMatrix.java?rev=1395453&r1=1395452&r2=1395453&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/BlockFieldMatrix.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/BlockFieldMatrix.java
Mon Oct  8 05:19:50 2012
@@ -783,7 +783,7 @@ public class BlockFieldMatrix<T extends 
     public void setSubMatrix(final T[][] subMatrix, final int row,
                              final int column)
         throws DimensionMismatchException, OutOfRangeException,
-        NoDataException, NullArgumentException, NumberIsTooSmallException {
+        NoDataException, NullArgumentException {
         // safety checks
         MathUtils.checkNotNull(subMatrix);
         final int refLength = subMatrix[0].length;

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java?rev=1395453&r1=1395452&r2=1395453&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/FieldMatrix.java
Mon Oct  8 05:19:50 2012
@@ -250,14 +250,12 @@ public interface FieldMatrix<T extends F
      * @throws NoDataException if a row or column of {@code subMatrix} is empty.
      * @throws DimensionMismatchException if {@code subMatrix} is not
      * rectangular (not all rows have the same length).
-     * @throws NumberIsTooSmallException if {@code endRow < startRow} or
-     * {@code endColumn < startColumn}.
      * @throws NullArgumentException if {@code subMatrix} is {@code null}.
      * @since 2.0
      */
     void setSubMatrix(T[][] subMatrix, int row, int column)
         throws DimensionMismatchException, OutOfRangeException,
-        NoDataException, NullArgumentException, NumberIsTooSmallException;
+        NoDataException, NullArgumentException;
 
    /**
     * Get the entries in row number {@code row}



Mime
View raw message