On 02/02/2010 17:34, Konstantin Kolinko wrote:
> 2010/2/2  <ma...@apache.org>:
>> Author: markt
>> Date: Tue Feb  2 17:27:00 2010
>> New Revision: 905717
>>
>> URL: http://svn.apache.org/viewvc?rev=905717&view=rev
>> Log:
>> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=48039
>> Return immediately if already started
>>
>> Modified:
>>    tomcat/trunk/java/org/apache/catalina/core/StandardService.java
>>
> 
>>         // Validate and update our current component state
>>         if (log.isInfoEnabled() && started) {
>>             log.info(sm.getString("standardService.start.started"));
>> +            return;
>>         }
>>
> 
> It should be
> 
>          if (started) {
>             if(log.isInfoEnabled()) {
>              log.info(sm.getString("standardService.start.started"));
>             }
>             return;
>          }

Doh. Thanks for the catch.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to