commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1003576 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/util/FastMathTest.java
Date Fri, 01 Oct 2010 16:39:47 GMT
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;
 



Mime
View raw message