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 78f5d22d4b Re-apply standard formatting. No functional change.
78f5d22d4b is described below

commit 78f5d22d4bcb4939cd28360d6a4351f23e3fd3bc
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 21 11:36:19 2025 +0000

    Re-apply standard formatting. No functional change.
    
    Again, committed because I need to test the BuildBot CI
---
 java/org/apache/jasper/servlet/JspServletWrapper.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/java/org/apache/jasper/servlet/JspServletWrapper.java 
b/java/org/apache/jasper/servlet/JspServletWrapper.java
index a51f5caa55..b80a3b8428 100644
--- a/java/org/apache/jasper/servlet/JspServletWrapper.java
+++ b/java/org/apache/jasper/servlet/JspServletWrapper.java
@@ -517,8 +517,7 @@ public class JspServletWrapper {
         try {
             Throwable realException = ex;
             // Unwrap Servlet exception once
-            if (ex instanceof ServletException servletException
-                    && servletException.getRootCause() != null) {
+            if (ex instanceof ServletException servletException && 
servletException.getRootCause() != null) {
                 realException = servletException.getRootCause();
             }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to