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

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


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

commit cabb30037e8f87b979a6434524eaffcd03709a74
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