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

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 7fd1d3d4a1 Fix Eclipse warning
7fd1d3d4a1 is described below

commit 7fd1d3d4a1d1bcb13f1b4250696232906d1067ed
Author: Mark Thomas <[email protected]>
AuthorDate: Sun Apr 30 16:15:30 2023 +0100

    Fix Eclipse warning
---
 test/org/apache/catalina/valves/TestAccessLogValve.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/valves/TestAccessLogValve.java 
b/test/org/apache/catalina/valves/TestAccessLogValve.java
index 6eca0980e0..cb520a3d7e 100644
--- a/test/org/apache/catalina/valves/TestAccessLogValve.java
+++ b/test/org/apache/catalina/valves/TestAccessLogValve.java
@@ -314,7 +314,7 @@ public class TestAccessLogValve extends TomcatBaseTest {
         String result = writer.toString();
         while ("".equals(result) && System.currentTimeMillis() - startWait < 
SLEEP_MAX) {
             try {
-                Thread.currentThread().sleep(SLEEP);
+                Thread.sleep(SLEEP);
             } catch (InterruptedException ex) {
                 log.error("Exception during sleep", ex);
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to