You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2010/09/05 21:34:42 UTC
svn commit: r992875 -
/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java
Author: luc
Date: Sun Sep 5 19:34:41 2010
New Revision: 992875
URL: http://svn.apache.org/viewvc?rev=992875&view=rev
Log:
removing unused variables
Modified:
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java
Modified: commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java?rev=992875&r1=992874&r2=992875&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java (original)
+++ commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java Sun Sep 5 19:34:41 2010
@@ -27,9 +27,6 @@ public class DfpDecTest {
private DfpField field;
private Dfp pinf;
private Dfp ninf;
- private Dfp nan;
- private Dfp snan;
- private Dfp qnan;
@Before
public void setUp() {
@@ -37,9 +34,6 @@ public class DfpDecTest {
field = new DfpField(20);
pinf = new DfpDec(field, 1).divide(new DfpDec(field, 0));
ninf = new DfpDec(field, -1).divide(new DfpDec(field, 0));
- nan = new DfpDec(field, 0).divide(new DfpDec(field, 0));
- snan = field.newDfp((byte)1, Dfp.SNAN);
- qnan = field.newDfp((byte)1, Dfp.QNAN);
ninf.getField().clearIEEEFlags();
}
@@ -48,9 +42,6 @@ public class DfpDecTest {
field = null;
pinf = null;
ninf = null;
- nan = null;
- snan = null;
- qnan = null;
}
// Generic test function. Takes params x and y and tests them for