Use final

This commit is contained in:
Gary Gregory 2024-09-12 10:14:47 -04:00
parent 24e80503b3
commit 2f8cc86f3a
1 changed files with 1 additions and 1 deletions

View File

@ -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);