felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r825039 - /felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Date Wed, 14 Oct 2009 07:22:06 GMT
Author: gnodet
Date: Wed Oct 14 07:22:05 2009
New Revision: 825039

URL: http://svn.apache.org/viewvc?rev=825039&view=rev
Log:
FELIX-1578: remove commented code

Modified:
    felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java

Modified: felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
URL: http://svn.apache.org/viewvc/felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java?rev=825039&r1=825038&r2=825039&view=diff
==============================================================================
--- felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
(original)
+++ felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Wed Oct 14 07:22:05 2009
@@ -241,15 +241,6 @@
                 // File has been modified
                 if (exists && artifact != null)
                 {
-                    // Check the last modified date against
-                    // the artifact last modified date if available.  This will loose
-                    // the possibility of the jar being replaced by an older one
-                    // or the content changed without the date being modified, but
-                    // else, we'd have to reinstall all the deployed bundles on restart.
-//                    if (artifact.getLastModified() > Util.getLastModified(file))
-//                    {
-//                        continue;
-//                    }
                     artifact.setChecksum(scanner.getChecksum(file));
                     // If there's no listener, this is because this artifact has been installed
before
                     // fileinstall has been restarted.  In this case, try to find a listener.



Mime
View raw message