commit | 4f659828cdbcdf503b9fde92eb581cd00486fb02 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Wed Mar 16 08:10:34 2016 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Wed Mar 16 08:10:34 2016 +0000 |
tree | 2ef57614b5781b7b97d83b6706fd23f4f31d8a5b | |
parent | 4a60744d0f88f351551e4cb4673eb60b8fbd21d3 [diff] |
[FELIX-5217] fileinstall: Improve WatcherScanner performance git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1735196 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/WatcherScanner.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/WatcherScanner.java index 532356f..cca84f0 100644 --- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/WatcherScanner.java +++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/WatcherScanner.java
@@ -97,7 +97,7 @@ } for (File file : removed) { // Make sure we'll handle a file that has been deleted - files.addAll(removed); + files.add(file); // Remove no longer used checksums lastChecksums.remove(file); storedChecksums.remove(file);