You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2008/03/17 07:53:32 UTC

svn commit: r637746 - /incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java

Author: lresende
Date: Sun Mar 16 23:53:23 2008
New Revision: 637746

URL: http://svn.apache.org/viewvc?rev=637746&view=rev
Log:
Removing JDK 6.0 feature

Modified:
    incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java

Modified: incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java?rev=637746&r1=637745&r2=637746&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java (original)
+++ incubator/tuscany/java/sca/modules/implementation-node-runtime/src/main/java/org/apache/tuscany/sca/implementation/node/launcher/NodeLauncherUtil.java Sun Mar 16 23:53:23 2008
@@ -82,10 +82,10 @@
         // Add all the JARs found under $TUSCANY_HOME, $TUSCANY_HOME/modules
         // and $TUSCANY_HOME/lib
         String home = System.getProperty(NodeLauncherUtil.TUSCANY_HOME);
-        if (home == null || home.isEmpty()) {
+        if (home == null || home.length() == 0) {
             home = System.getenv(NodeLauncherUtil.TUSCANY_HOME);
         }
-        if (home != null && !home.isEmpty()) {
+        if (home != null && home.length() != 0) {
             NodeLauncherUtil.logger.info(NodeLauncherUtil.TUSCANY_HOME + ": " + home);
             File homeDirectory = new File(home);
             if (homeDirectory.exists()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org