geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1096445 - /geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
Date Mon, 25 Apr 2011 09:49:54 GMT
Author: genspring
Date: Mon Apr 25 09:49:53 2011
New Revision: 1096445

URL: http://svn.apache.org/viewvc?rev=1096445&view=rev
Log:
String.isEmpty() is an Java 6 api,  we only  build geronimo with Java 5.

Modified:
    geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java

Modified: geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java?rev=1096445&r1=1096444&r2=1096445&view=diff
==============================================================================
--- geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
(original)
+++ geronimo/server/branches/2.2/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryHotDeployer.java
Mon Apr 25 09:49:53 2011
@@ -161,7 +161,7 @@ public class DirectoryHotDeployer implem
         }
         
         File monitorFile = null;
-        if (monitorFileName != null && !monitorFileName.isEmpty()) {
+        if (monitorFileName != null && monitorFileName.length() != 0) {
             monitorFile = serverInfo.resolveServer(dir + File.separator + monitorFileName);
             if (!monitorFile.createNewFile()) {
                 if (!monitorFile.canWrite()) {



Mime
View raw message