Author: markt Date: Fri Jun 12 11:13:36 2009 New Revision: 784073 URL: http://svn.apache.org/viewvc?rev=784073&view=rev Log: Code clean-up.
Modified: tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java Modified: tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java?rev=784073&r1=784072&r2=784073&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java Fri Jun 12 11:13:36 2009 @@ -44,7 +44,7 @@ protected static long DEFAULT_REPL_TIMEOUT = 15000;//15 seconds public void lifecycleEvent(LifecycleEvent event) { - if ( event.getType() == AFTER_START_EVENT ) + if (AFTER_START_EVENT.equals(event.getType())) startComplete = true; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org