From 0ebd188e0336ea884e46966d2b08379445901047 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 25 Mar 2010 15:08:40 +0000 Subject: [PATCH] Suppress unused variable warnings git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927440 13f79535-47bb-0310-9956-ffa450edef68 --- .../interpolation/BicubicSplineInterpolatingFunctionTest.java | 1 + .../interpolation/SmoothingBicubicSplineInterpolatorTest.java | 1 + 2 files changed, 2 insertions(+) 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 a348b674b..69dd11b6e 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 @@ -37,6 +37,7 @@ public final class BicubicSplineInterpolatingFunctionTest { double[] yval = new double[] {-4, -3, -1, 2.5}; double[][] zval = new double[xval.length][yval.length]; + @SuppressWarnings("unused") BivariateRealFunction bcf = new BicubicSplineInterpolatingFunction(xval, yval, zval, zval, zval, zval); diff --git a/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java b/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java index 6e4fda098..689973da7 100644 --- a/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java +++ b/src/test/java/org/apache/commons/math/analysis/interpolation/SmoothingBicubicSplineInterpolatorTest.java @@ -39,6 +39,7 @@ public final class SmoothingBicubicSplineInterpolatorTest { BivariateRealGridInterpolator interpolator = new SmoothingBicubicSplineInterpolator(); + @SuppressWarnings("unused") BivariateRealFunction p = interpolator.interpolate(xval, yval, zval); double[] wxval = new double[] {3, 2, 5, 6.5};