From 9d6bc2827e27eae808bdcb3ac143569ed7e4d5e5 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 11 Jul 2011 00:53:09 +0000 Subject: [PATCH] Should be a static variable. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1144995 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/lang3/time/DurationFormatUtilsTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java index f9f03135e..802a5a50d 100644 --- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java @@ -508,7 +508,7 @@ public void testDurationsByBruteForce() { //bruteForce(1996, 1, 29, "M", Calendar.MONTH); // this will fail } - private int FOUR_YEARS = 365 * 3 + 366; + private final int FOUR_YEARS = 365 * 3 + 366; // Takes a minute to run, so generally turned off // public void testBrutally() {