commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1066395 - in /commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation: BicubicSplineInterpolatingFunctionTest.java TricubicSplineInterpolatingFunctionTest.java
Date Wed, 02 Feb 2011 09:46:21 GMT
Author: sebb
Date: Wed Feb  2 09:46:21 2011
New Revision: 1066395

URL: http://svn.apache.org/viewvc?rev=1066395&view=rev
Log:
Avoid some Findbugs complaints

Modified:
    commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java
    commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java

Modified: commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java?rev=1066395&r1=1066394&r2=1066395&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java
Wed Feb  2 09:46:21 2011
@@ -106,6 +106,7 @@ public final class BicubicSplineInterpol
         } catch (DimensionMismatchException e) {
             // Expected
         }
+        Assert.assertNotNull(bcf); // Avoid Findbugs "dead store" warning
     }
 
     /**

Modified: commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java?rev=1066395&r1=1066394&r2=1066395&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java
Wed Feb  2 09:46:21 2011
@@ -265,6 +265,7 @@ public final class TricubicSplineInterpo
         } catch (DimensionMismatchException e) {
             // Expected
         }
+        Assert.assertNotNull(tcf); // Avoid Findbugs "dead store" warning
     }
 
     /**



Mime
View raw message