You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/11/15 12:17:11 UTC

(tomcat) branch 10.1.x updated: Fix auto-boxing warnings

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

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


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 1275c60d3d Fix auto-boxing warnings
1275c60d3d is described below

commit 1275c60d3dbcc01c3c53a7a3dbc758c812747e6e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Nov 15 12:16:54 2024 +0000

    Fix auto-boxing warnings
---
 test/org/apache/catalina/storeconfig/TestStoreConfig.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/catalina/storeconfig/TestStoreConfig.java b/test/org/apache/catalina/storeconfig/TestStoreConfig.java
index 01baa0add7..c1f6516eb5 100644
--- a/test/org/apache/catalina/storeconfig/TestStoreConfig.java
+++ b/test/org/apache/catalina/storeconfig/TestStoreConfig.java
@@ -57,22 +57,22 @@ public class TestStoreConfig extends TomcatBaseTest {
         org.apache.catalina.core.StandardThreadExecutor tc_StandardThreadExecutor_14 = new org.apache.catalina.core.StandardThreadExecutor();
         tc_StandardThreadExecutor_14.setName("tomcatThreadPool");
         tc_StandardThreadExecutor_14.setNamePrefix("catalina-exec-");
-        tc_StandardThreadExecutor_14.setMaxThreads(Integer.valueOf("150"));
-        tc_StandardThreadExecutor_14.setMinSpareThreads(Integer.valueOf("4"));
+        tc_StandardThreadExecutor_14.setMaxThreads(Integer.parseInt("150"));
+        tc_StandardThreadExecutor_14.setMinSpareThreads(Integer.parseInt("4"));
         tomcat.getService().addExecutor(tc_StandardThreadExecutor_14);
 
         org.apache.coyote.http2.Http2Protocol tc_Http2Protocol_17 = new org.apache.coyote.http2.Http2Protocol();
         tomcat.getConnector().addUpgradeProtocol(tc_Http2Protocol_17);
         tomcat.getConnector().setProperty("SSLEnabled", "true");
         tomcat.getConnector().setScheme("https");
-        tomcat.getConnector().setSecure(Boolean.valueOf("true"));
+        tomcat.getConnector().setSecure(Boolean.parseBoolean("true"));
         tomcat.getConnector().setThrowOnFailure(false);
         tomcat.getConnector().getProtocolHandler().setExecutor(tomcat.getService().getExecutor("tomcatThreadPool"));
 
         org.apache.tomcat.util.net.SSLHostConfig tc_SSLHostConfig_22 = new org.apache.tomcat.util.net.SSLHostConfig();
         tc_SSLHostConfig_22.setProtocols("TLSv1.1+TLSv1.2");
         tc_SSLHostConfig_22.setCertificateVerification("optionalNoCA");
-        tc_SSLHostConfig_22.setCertificateVerificationDepth(Integer.valueOf("3"));
+        tc_SSLHostConfig_22.setCertificateVerificationDepth(Integer.parseInt("3"));
         org.apache.tomcat.util.net.SSLHostConfigCertificate tc_SSLHostConfigCertificate_23 =
                 new org.apache.tomcat.util.net.SSLHostConfigCertificate(tc_SSLHostConfig_22,
                         org.apache.tomcat.util.net.SSLHostConfigCertificate.Type.RSA);


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org