This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new f993c366f1 Simplify
f993c366f1 is described below
commit f993c366f18be6d6a2661bb66eda478b8ac76270
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Aug 18 09:43:36 2025 +0100
Simplify
---
java/org/apache/tomcat/util/net/Acceptor.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/java/org/apache/tomcat/util/net/Acceptor.java
b/java/org/apache/tomcat/util/net/Acceptor.java
index 1d8e93acc0..8e786eb719 100644
--- a/java/org/apache/tomcat/util/net/Acceptor.java
+++ b/java/org/apache/tomcat/util/net/Acceptor.java
@@ -152,8 +152,7 @@ public class Acceptor<U> implements Runnable {
}
} catch (Throwable t) {
ExceptionUtils.handleThrowable(t);
- String msg = sm.getString("endpoint.accept.fail");
- log.error(msg, t);
+ log.error(sm.getString("endpoint.accept.fail"), t);
}
}
} finally {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]