commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r992876 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java
Date Sun, 05 Sep 2010 19:35:26 GMT
Author: luc
Date: Sun Sep  5 19:35:26 2010
New Revision: 992876

URL: http://svn.apache.org/viewvc?rev=992876&view=rev
Log:
removing unused variables

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java?rev=992876&r1=992875&r2=992876&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/dfp/DfpDecTest.java Sun
Sep  5 19:35:26 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 



Mime
View raw message