tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: svn commit: r905717 - /tomcat/trunk/java/org/apache/catalina/core/StandardService.java
Date Tue, 02 Feb 2010 17:34:43 GMT
2010/2/2  <markt@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;
         }


Best regards,
Konstantin Kolinko

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


Mime
View raw message