Author: tveronezi Date: Fri Nov 29 18:20:50 2013 New Revision: 1546618 URL: http://svn.apache.org/r1546618 Log: cosmetic
Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java?rev=1546618&r1=1546617&r2=1546618&view=diff ============================================================================== --- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java (original) +++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/config/RemoteServer.java Fri Nov 29 18:20:50 2013 @@ -76,7 +76,7 @@ public class RemoteServer { this.tries = tries; this.verbose = verbose; home = getHome(); - tomcat = home != null && new File(new File(home, "bin"), "catalina.sh").exists(); + tomcat = (home != null) && (new File(new File(home, "bin"), "catalina.sh").exists()); shutdownPort = options.get(SERVER_SHUTDOWN_PORT, tomcat ? 8005 : 4200); command = options.get(SERVER_SHUTDOWN_COMMAND, "SHUTDOWN");