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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6432a576f0 Remove apparently unnecessary warning
6432a576f0 is described below

commit 6432a576f0072162aa6d68dcc5a3c8fd78466789
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