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

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

commit cdf1d23045cedc46139d7e5c6acadbbf4144dc59
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Jun 15 14:31:46 2026 +0100

    Remove unnecessary
---
 java/org/apache/catalina/startup/HostConfig.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/org/apache/catalina/startup/HostConfig.java 
b/java/org/apache/catalina/startup/HostConfig.java
index a2a395786a..c1e62403f2 100644
--- a/java/org/apache/catalina/startup/HostConfig.java
+++ b/java/org/apache/catalina/startup/HostConfig.java
@@ -542,7 +542,6 @@ public class HostConfig implements LifecycleListener {
      * @param cn         The context name
      * @param contextXml The descriptor
      */
-    @SuppressWarnings("null") // context is not null
     protected void deployDescriptor(ContextName cn, File contextXml) {
 
         // Check for descriptors with /../ /./ or similar sequences in the name


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

Reply via email to