You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/10/01 18:39:47 UTC

svn commit: r1003576 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java

Author: sebb
Date: Fri Oct  1 16:39:47 2010
New Revision: 1003576

URL: http://svn.apache.org/viewvc?rev=1003576&view=rev
Log:
Constants might as well be static

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java?rev=1003576&r1=1003575&r2=1003576&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java (original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java Fri Oct  1 16:39:47 2010
@@ -28,8 +28,9 @@ import org.junit.Test;
 
 public class FastMathTest {
 
-    private final double MAX_ERROR_ULP = 0.51;
-    private final int NUMBER_OF_TRIALS = 1000;
+    private static final double MAX_ERROR_ULP = 0.51;
+    private static final int NUMBER_OF_TRIALS = 1000;
+
     private DfpField field;
     private RandomGenerator generator;