This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 7335e26dd66cc50ae60c841c30a83e994ff7e087
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jun 11 15:53:11 2025 -0400

    Reuse org.apache.commons.lang3.LocaleUtils#availableLocaleList()
---
 .../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java   | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
index 6dd8e0dda..8a78de18a 100644
--- 
a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
+++ 
b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java
@@ -69,10 +69,6 @@ public static void afterAll() {
         }
     }
 
-    public static Locale[] getAvailableLocalesSorted() {
-        return ArraySorter.sort(Locale.getAvailableLocales(), 
Comparator.comparing(Locale::toString));
-    }
-
     @Test
     void testLang1219() throws ParseException {
         final FastDateParser parser = new FastDateParser("dd.MM.yyyy HH:mm:ss 
z", TimeZone.getDefault(), Locale.GERMAN);
@@ -82,13 +78,13 @@ void testLang1219() throws ParseException {
     }
 
     @ParameterizedTest
-    
@MethodSource("org.apache.commons.lang3.time.FastDateParser_TimeZoneStrategyTest#getAvailableLocalesSorted")
+    @MethodSource("org.apache.commons.lang3.LocaleUtils#availableLocaleList()")
     void testTimeZoneStrategy_DateFormatSymbols(final Locale locale) {
         testTimeZoneStrategyPattern_DateFormatSymbols_getZoneStrings(locale);
     }
 
     @ParameterizedTest
-    
@MethodSource("org.apache.commons.lang3.time.FastDateParser_TimeZoneStrategyTest#getAvailableLocalesSorted")
+    @MethodSource("org.apache.commons.lang3.LocaleUtils#availableLocaleList()")
     void testTimeZoneStrategy_TimeZone(final Locale locale) {
         testTimeZoneStrategyPattern_TimeZone_getAvailableIDs(locale);
     }

Reply via email to