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 2025/11/21 15:46:20 UTC

(tomcat) branch 10.1.x updated: Remove apparently unnecessary warning

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 45489bb31c Remove apparently unnecessary warning
45489bb31c is described below

commit 45489bb31c8d5754e6b86487f7f57733f70d81ca
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Nov 21 15:45:46 2025 +0000

    Remove apparently unnecessary warning
---
 test/org/apache/tomcat/security/TestSecurity2023.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/test/org/apache/tomcat/security/TestSecurity2023.java b/test/org/apache/tomcat/security/TestSecurity2023.java
index f1ec844f2b..601e7b6052 100644
--- a/test/org/apache/tomcat/security/TestSecurity2023.java
+++ b/test/org/apache/tomcat/security/TestSecurity2023.java
@@ -92,7 +92,6 @@ public class TestSecurity2023 extends TomcatBaseTest {
         Assert.assertEquals(HttpServletResponse.SC_REQUEST_ENTITY_TOO_LARGE, status);
     }
 
-    @SuppressWarnings("StatementWithEmptyBody")
     private static int postMultipart(String path, String queryStringParams, int parts) throws IOException, URISyntaxException {
         String urlStr = path + (queryStringParams == null || queryStringParams.isEmpty() ? "" : "?" + queryStringParams);
         String boundary = "--simpleboundary";


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