FELIX-1578: remove commented code
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@825039 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
index 8b07644..7e409de 100644
--- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
+++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
@@ -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.