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 167f480996 Use provided parameters. Fixes IDE warning.
167f480996 is described below
commit 167f480996b99b1e2bbf272113082d458c8942bf
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Dec 2 08:31:43 2025 +0000
Use provided parameters. Fixes IDE warning.
---
test/org/apache/catalina/startup/SimpleHttpClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/startup/SimpleHttpClient.java
b/test/org/apache/catalina/startup/SimpleHttpClient.java
index 924f2e24e8..3587573ffe 100644
--- a/test/org/apache/catalina/startup/SimpleHttpClient.java
+++ b/test/org/apache/catalina/startup/SimpleHttpClient.java
@@ -220,7 +220,7 @@ public abstract class SimpleHttpClient {
}
public void connect(int connectTimeout, int soTimeout) throws
UnknownHostException, IOException {
- connect(new Socket(), 10000, 10000, true);
+ connect(new Socket(), connectTimeout, soTimeout, true);
}
public void connect(Socket socket) throws UnknownHostException,
IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]