From c4164c4e16fff834a734558ebab7ae0f4467f958 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Wed, 21 Aug 2024 17:23:59 -0400 Subject: [PATCH] Better test parameter name --- .../apache/commons/lang3/time/CalendarUtilsTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/time/CalendarUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/CalendarUtilsTest.java index 70a53d557..067f1b923 100644 --- a/src/test/java/org/apache/commons/lang3/time/CalendarUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/time/CalendarUtilsTest.java @@ -93,8 +93,8 @@ public class CalendarUtilsTest extends AbstractLangTest { @ParameterizedTest @MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS) - public void testToLocalDateTime(final String id) { - final TimeZone timeZone = TimeZone.getTimeZone(id); + public void testToLocalDateTime(final String timeZoneId) { + final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); final ZoneId zoneId = timeZone.toZoneId(); final Calendar calendar = new GregorianCalendar(timeZone); calendar.setTimeInMillis(0); @@ -106,8 +106,8 @@ public class CalendarUtilsTest extends AbstractLangTest { @ParameterizedTest @MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS) - public void testToOffsetDateTime(final String id) { - final TimeZone timeZone = TimeZone.getTimeZone(id); + public void testToOffsetDateTime(final String timeZoneId) { + final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); final ZoneId zoneId = timeZone.toZoneId(); final Calendar calendar = new GregorianCalendar(timeZone); calendar.setTimeInMillis(0); @@ -119,8 +119,8 @@ public class CalendarUtilsTest extends AbstractLangTest { @ParameterizedTest @MethodSource(TimeZonesTest.TIME_ZONE_GET_AVAILABLE_IDS) - public void testToZonedDateTime(final String id) { - final TimeZone timeZone = TimeZone.getTimeZone(id); + public void testToZonedDateTime(final String timeZoneId) { + final TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); final ZoneId zoneId = timeZone.toZoneId(); final Calendar calendar = new GregorianCalendar(timeZone); calendar.setTimeInMillis(0);