tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r784073 - /tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java
Date Fri, 12 Jun 2009 11:13:36 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message