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 aa8104e280 Remove unnecessary warning after refactoring
aa8104e280 is described below

commit aa8104e280239084aeac7a34a2f32cf47a568ce3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Mar 19 03:50:49 2025 +0000

    Remove unnecessary warning after refactoring
---
 java/org/apache/jasper/compiler/JspConfig.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/org/apache/jasper/compiler/JspConfig.java 
b/java/org/apache/jasper/compiler/JspConfig.java
index 9ccfa4568e..ffb5ec8f73 100644
--- a/java/org/apache/jasper/compiler/JspConfig.java
+++ b/java/org/apache/jasper/compiler/JspConfig.java
@@ -166,7 +166,6 @@ public class JspConfig {
     /**
      * Select the property group that has more restrictive url-pattern. In 
case of tie, select the first.
      */
-    @SuppressWarnings("null") // NPE not possible
     private JspPropertyGroup selectProperty(JspPropertyGroup prev, 
JspPropertyGroup curr) {
         if (prev == null) {
             return curr;


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

Reply via email to