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

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


The following commit(s) were added to refs/heads/main by this push:
     new ab041f9acd Fix Eclipse warning
ab041f9acd is described below

commit ab041f9acdaca34b9bbe012397a476554a4abd61
Author: Mark Thomas <ma...@apache.org>
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 824eab08eb..022c4e0b78 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to