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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new ada1591d04 Remove apparently unnecessary warning
ada1591d04 is described below

commit ada1591d0418b827dde3a5f1d13bf2e06e964009
Author: Mark Thomas <[email protected]>
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 34f6cff0c5..574b0720ae 100644
--- a/test/org/apache/tomcat/security/TestSecurity2023.java
+++ b/test/org/apache/tomcat/security/TestSecurity2023.java
@@ -81,7 +81,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to