You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by rw...@apache.org on 2011/05/19 03:23:38 UTC

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

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) {