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:26 UTC

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

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

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


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

commit 832dd3d55d4e9a417c5acf225ee91ae4e2633d36
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 aa13c13615..41e2ee2b85 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