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

markt-asf 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 37d9a4e1d3 Remove unnecessary @SuppressWarnings
37d9a4e1d3 is described below

commit 37d9a4e1d3958c15d983f2e8a8ef0f1af0d8e317
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jun 16 17:43:28 2026 +0100

    Remove unnecessary @SuppressWarnings
---
 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