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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new a125743120 Use provided parameters. Fixes IDE warning.
a125743120 is described below

commit a125743120b1c4df540b6236a997994f61cff178
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 7c259229c0..dcb0a4db91 100644
--- a/test/org/apache/catalina/startup/SimpleHttpClient.java
+++ b/test/org/apache/catalina/startup/SimpleHttpClient.java
@@ -213,7 +213,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]

Reply via email to