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

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


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

commit 233d5a83a7d07f459b22100454cadec1162d4d9b
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 d7976cdfbc..01b175acd0 100644
--- a/test/org/apache/catalina/valves/TestAccessLogValve.java
+++ b/test/org/apache/catalina/valves/TestAccessLogValve.java
@@ -312,7 +312,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