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

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

commit b9ed1435ec1b11e775622fdd67fb025d50530801
Author: Mark Thomas <ma...@apache.org>
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 20b6c90..aa48aeb 100644
--- a/test/org/apache/coyote/http11/TestHttp11Processor.java
+++ b/test/org/apache/coyote/http11/TestHttp11Processor.java
@@ -1544,8 +1544,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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to