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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 07aa584577 Remove unused code
07aa584577 is described below

commit 07aa58457781f0200eadc27beaf17e858bfed604
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Sun Feb 4 16:02:26 2024 +0000

    Remove unused code
---
 java/org/apache/catalina/startup/ContextConfig.java | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/java/org/apache/catalina/startup/ContextConfig.java 
b/java/org/apache/catalina/startup/ContextConfig.java
index 59e971cbf1..de99a2089f 100644
--- a/java/org/apache/catalina/startup/ContextConfig.java
+++ b/java/org/apache/catalina/startup/ContextConfig.java
@@ -1046,16 +1046,6 @@ public class ContextConfig implements LifecycleListener {
             context.removeChild(children[i]);
         }
 
-        // Removing application parameters
-        /*
-        ApplicationParameter[] applicationParameters =
-            context.findApplicationParameters();
-        for (i = 0; i < applicationParameters.length; i++) {
-            context.removeApplicationParameter
-                (applicationParameters[i].getName());
-        }
-        */
-
         // Removing security constraints
         SecurityConstraint[] securityConstraints = context.findConstraints();
         for (i = 0; i < securityConstraints.length; i++) {


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

Reply via email to