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 cf30ae6818 Align with 11.0.x / 12.0.x
cf30ae6818 is described below

commit cf30ae681840c0880175fcfb5202d0809f37b257
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed May 21 15:31:04 2025 +0100

    Align with 11.0.x / 12.0.x
---
 java/org/apache/catalina/connector/Request.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/java/org/apache/catalina/connector/Request.java 
b/java/org/apache/catalina/connector/Request.java
index 67d6670829..46da139173 100644
--- a/java/org/apache/catalina/connector/Request.java
+++ b/java/org/apache/catalina/connector/Request.java
@@ -2554,11 +2554,10 @@ public class Request implements HttpServletRequest {
             } else {
                 if (explicit) {
                     partsParseException = new 
IllegalStateException(sm.getString("coyoteRequest.noMultipartConfig"));
-                    return;
                 } else {
                     parts = Collections.emptyList();
-                    return;
                 }
+                return;
             }
         }
 


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

Reply via email to