You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2024/02/04 16:02:42 UTC

(tomcat) branch 10.1.x updated: Remove unused code

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

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


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

commit 4dd2382e296a1aa02883b1934146f236af8cd555
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 9496afd33b..fe51d82a25 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org