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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 1641ae41f8 Avoid NPE for default
1641ae41f8 is described below

commit 1641ae41f8e6a5e5d5ff369a374e24a7fa806a9a
Author: remm <r...@apache.org>
AuthorDate: Mon Jul 7 10:44:22 2025 +0200

    Avoid NPE for default
    
    Found by Coverity.
---
 java/org/apache/catalina/valves/AbstractAccessLogValve.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/valves/AbstractAccessLogValve.java 
b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
index 531a7ee295..cb1bb385ce 100644
--- a/java/org/apache/catalina/valves/AbstractAccessLogValve.java
+++ b/java/org/apache/catalina/valves/AbstractAccessLogValve.java
@@ -1687,7 +1687,7 @@ public abstract class AbstractAccessLogValve extends 
ValveBase implements Access
         private final IdentifierType identifierType;
 
         public IdentifierElement() {
-            this(null);
+            this("");
         }
 
 


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

Reply via email to