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

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


The following commit(s) were added to refs/heads/master by this push:
     new d6dd060ff Return null for out-of-range offset in 
FastTimeZone.getGmtTimeZone (#1788).
d6dd060ff is described below

commit d6dd060ff988b058f34800fa8fdb2c00747e3859
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Sep 12 08:13:54 2026 -0700

    Return null for out-of-range offset in FastTimeZone.getGmtTimeZone
    (#1788).
    
    Parameterize test and add invalid inputs.
---
 src/test/java/org/apache/commons/lang3/time/FastTimeZoneTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/lang3/time/FastTimeZoneTest.java 
b/src/test/java/org/apache/commons/lang3/time/FastTimeZoneTest.java
index ee2f8f585..452c37e38 100644
--- a/src/test/java/org/apache/commons/lang3/time/FastTimeZoneTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/FastTimeZoneTest.java
@@ -124,7 +124,7 @@ void testOlson() {
      * from the GmtTimeZone constructor.
      */
     @ParameterizedTest
-    @ValueSource(strings = { "GMT+24", "+24", "-24", "+99", "+12:60", "00:99", 
"99:99" , "0099", "9999" })
+    @ValueSource(strings = { "GMT+24", "+24", "-24", "+99", "+12:60", "00:99", 
"99:99", "0099", "9999" })
     void testOutOfRangeOffsetReturnsNull(final String pattern) {
         assertNull(FastTimeZone.getGmtTimeZone(pattern));
     }

Reply via email to