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 1fc92ca33..dd78b49dd 100644 --- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java @@ -526,7 +526,7 @@ public class DurationFormatUtilsTest extends AbstractLangTest { */ @Test public void testFourYears() { - Calendar c = Calendar.getInstance(); + final Calendar c = Calendar.getInstance(); c.set(2004, 0, 1, 0, 0, 0); for (int i = 0; i < FOUR_YEARS; i++) { bruteForce(c.get(Calendar.YEAR), c.get(Calendar.MONTH), c.get(Calendar.DAY_OF_MONTH), "d", Calendar.DAY_OF_MONTH);