This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new fe70851fca Remove unused code
fe70851fca is described below
commit fe70851fcac466210263425490ce074399dd8f30
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 7ca413e105..2dd8e064e5 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: [email protected]
For additional commands, e-mail: [email protected]