Author: luc
Date: Sat Oct  2 22:25:56 2010
New Revision: 1003910

URL: http://svn.apache.org/viewvc?rev=1003910&view=rev
Log:
backported r1003576 from trunk to branch 2.X
Constants might as well be static

Modified:
    commons/proper/math/branches/MATH_2_X/   (props changed)
    
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java

Propchange: commons/proper/math/branches/MATH_2_X/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Oct  2 22:25:56 2010
@@ -1 +1 @@
-/commons/proper/math/trunk:1003346,1003348-1003351,1003526,1003533,1003543,1003545,1003547,1003549,1003566-1003567,1003569,1003584
+/commons/proper/math/trunk:1003346,1003348-1003351,1003526,1003533,1003543,1003545,1003547,1003549,1003566-1003567,1003569,1003576,1003584

Modified: 
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java?rev=1003910&r1=1003909&r2=1003910&view=diff
==============================================================================
--- 
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java
 (original)
+++ 
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathTest.java
 Sat Oct  2 22:25:56 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;
 


Reply via email to