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-validator.git

commit a8cac1819736a42dfd18938d77f4800cf6508dfc
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Dec 26 10:28:07 2024 -0500

    Remove unused test code
---
 .../java/org/apache/commons/validator/routines/TimeValidatorTest.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java 
b/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java
index 9acfcba6..2ceb2cfe 100644
--- a/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java
@@ -112,15 +112,12 @@ public class TimeValidatorTest {
             , "10::1" // invalid pattern
             , "10:1:" }; // invalid pattern
 
-    private Locale origDefault;
-
     private TimeZone defaultZone;
 
     @BeforeEach
     protected void setUp() {
         validator = new TimeValidator();
         defaultZone = TimeZone.getDefault();
-        origDefault = Locale.getDefault();
     }
 
     /**
@@ -129,7 +126,6 @@ public class TimeValidatorTest {
     @AfterEach
     protected void tearDown() {
         validator = null;
-        Locale.setDefault(origDefault);
         TimeZone.setDefault(defaultZone);
     }
 

Reply via email to