Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 17967 invoked from network); 12 Jun 2009 11:13:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 11:13:48 -0000 Received: (qmail 38255 invoked by uid 500); 12 Jun 2009 11:13:59 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 38146 invoked by uid 500); 12 Jun 2009 11:13:58 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 38135 invoked by uid 99); 12 Jun 2009 11:13:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:13:58 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 11:13:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 90B4F23888C8; Fri, 12 Jun 2009 11:13:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r784073 - /tomcat/trunk/java/org/apache/catalina/ha/context/ReplicatedContext.java Date: Fri, 12 Jun 2009 11:13:36 -0000 To: dev@tomcat.apache.org From: markt@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090612111336.90B4F23888C8@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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