diff --git a/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java index f042f06b4..4e8807281 100644 --- a/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math/analysis/interpolation/BicubicSplineInterpolatingFunctionTest.java @@ -106,6 +106,7 @@ public final class BicubicSplineInterpolatingFunctionTest { } catch (DimensionMismatchException e) { // Expected } + Assert.assertNotNull(bcf); // Avoid Findbugs "dead store" warning } /** diff --git a/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java b/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java index 16f262a84..1392d1142 100644 --- a/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java +++ b/src/test/java/org/apache/commons/math/analysis/interpolation/TricubicSplineInterpolatingFunctionTest.java @@ -265,6 +265,7 @@ public final class TricubicSplineInterpolatingFunctionTest { } catch (DimensionMismatchException e) { // Expected } + Assert.assertNotNull(tcf); // Avoid Findbugs "dead store" warning } /**