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


The following commit(s) were added to refs/heads/master by this push:
     new 5754ce82 Remove unused test code
5754ce82 is described below

commit 5754ce82aceaaca40257415e65f465746eb2c7b5
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Dec 26 10:31:18 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 8148f073..336af62b 100644
--- a/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/TimeValidatorTest.java
@@ -112,12 +112,9 @@ public class TimeValidatorTest {
             , "10::1" // invalid pattern
             , "10:1:" }; // invalid pattern
 
-    private TimeZone defaultZone;
-
     @BeforeEach
     protected void setUp() {
         validator = new TimeValidator();
-        defaultZone = TimeZone.getDefault();
     }
 
     /**
@@ -126,7 +123,6 @@ public class TimeValidatorTest {
     @AfterEach
     protected void tearDown() {
         validator = null;
-        TimeZone.setDefault(defaultZone);
     }
 
     /**

Reply via email to