geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwo...@apache.org
Subject svn commit: r1124494 - /geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Date Thu, 19 May 2011 01:23:38 GMT
Author: rwonly
Date: Thu May 19 01:23:38 2011
New Revision: 1124494

URL: http://svn.apache.org/viewvc?rev=1124494&view=rev
Log:
a bit clean up for hot deploy

Modified:
    geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java

Modified: geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java?rev=1124494&r1=1124493&r2=1124494&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
(original)
+++ geronimo/server/trunk/plugins/hotdeploy/geronimo-hot-deploy/src/main/java/org/apache/geronimo/deployment/hot/DirectoryMonitor.java
Thu May 19 01:23:38 2011
@@ -504,13 +504,16 @@ public class DirectoryMonitor implements
             }
         }
     }
-
+    
     private void resolveFile(FileAction action) {
         if (action.action == FileAction.REMOVED_FILE) {
             files.remove(action.child.getPath());
-        } else {
+        } 
+        
+        /* we don't need this, because the setChanging(false) has been called after the NEW_FILE/UPDATED_FILE
action object was created.
+          else {
             action.info.setChanging(false);
-        }
+        }*/
     }
 
     private String calculateModuleId(File module) {



Mime
View raw message