commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r762123 - /commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
Date Sun, 05 Apr 2009 17:21:56 GMT
Author: sebb
Date: Sun Apr  5 17:21:56 2009
New Revision: 762123

URL: http://svn.apache.org/viewvc?rev=762123&view=rev
Log:
Cannot be null here

Modified:
    commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java

Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java?rev=762123&r1=762122&r2=762123&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
(original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/transform/FastFourierTransformer.java
Sun Apr  5 17:21:56 2009
@@ -700,7 +700,7 @@
                 }
                 return null;
             }
-            if (vector != null && vector.length != dimensionSize.length) {
+            if (vector.length != dimensionSize.length) {
                 throw MathRuntimeException.createIllegalArgumentException(
                         "some dimensions don't math: {0} != {1}",
                         vector.length,dimensionSize.length);



Mime
View raw message