Fix auto-completion snafu
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 6 Dec 2010 22:19:35 +0000 (22:19 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 6 Dec 2010 22:19:35 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1042816 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardEngine.java

index eebb937..3e2f051 100644 (file)
@@ -424,7 +424,7 @@ public class StandardEngine extends ContainerBase implements Engine {
                 // Force re-calculation but do not disable listener since it
                 // might be re-used
                 engine.defaultAccessLog = null;
-            } else if (Lifecycle.BEFORE_DESTROY_EVENT.endsWith(type)) {
+            } else if (Lifecycle.BEFORE_DESTROY_EVENT.equals(type)) {
                 // Container is being removed
                 // Force re-calculation and disable listener since it won't
                 // be re-used