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

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


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

commit 50023677524e19de014263b062c212da00ac228a
Author: Mark Thomas <[email protected]>
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 fd9b594e0e..6610105f4d 100644
--- a/java/org/apache/catalina/startup/ContextConfig.java
+++ b/java/org/apache/catalina/startup/ContextConfig.java
@@ -835,16 +835,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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to