commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1145339 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
Date Mon, 11 Jul 2011 20:45:59 GMT
Author: ggregory
Date: Mon Jul 11 20:45:58 2011
New Revision: 1145339

URL: http://svn.apache.org/viewvc?rev=1145339&view=rev
Log:
Make field static.

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java?rev=1145339&r1=1145338&r2=1145339&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
Mon Jul 11 20:45:58 2011
@@ -508,7 +508,7 @@ public class DurationFormatUtilsTest ext
         //bruteForce(1996, 1, 29, "M", Calendar.MONTH);  // this will fail
     }
     
-    private final int FOUR_YEARS = 365 * 3 + 366;
+    private static final int FOUR_YEARS = 365 * 3 + 366;
     
     // Takes a minute to run, so generally turned off
 //    public void testBrutally() {



Mime
View raw message