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

commit b57136d4cddb7afc9a982764dd6163d7cb328ad5
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 15 20:30:00 2019 +0000

    Fix IDE auto-box warnings
---
 test/org/apache/coyote/http11/TestHttp11Processor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/coyote/http11/TestHttp11Processor.java 
b/test/org/apache/coyote/http11/TestHttp11Processor.java
index f3d7d8f..c0c26b3 100644
--- a/test/org/apache/coyote/http11/TestHttp11Processor.java
+++ b/test/org/apache/coyote/http11/TestHttp11Processor.java
@@ -1560,8 +1560,8 @@ public class TestHttp11Processor extends TomcatBaseTest {
             int maxKeepAliveRequests) throws Exception {
         Tomcat tomcat = getTomcatInstance();
 
-        tomcat.getConnector().setAttribute("keepAliveTimeout", 
keepAliveTimeout);
-        tomcat.getConnector().setAttribute("maxKeepAliveRequests", 
maxKeepAliveRequests);
+        tomcat.getConnector().setAttribute("keepAliveTimeout", 
Integer.valueOf(keepAliveTimeout));
+        tomcat.getConnector().setAttribute("maxKeepAliveRequests", 
Integer.valueOf(maxKeepAliveRequests));
 
         // No file system docBase required
         Context ctx = tomcat.addContext("", null);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to