mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vfs] minor memory optimization
This commit is contained in:
@@ -184,7 +184,7 @@ public class FileWatcher {
|
||||
|
||||
@Override
|
||||
public void notifyManualWatchRoots(@NotNull Collection<String> roots) {
|
||||
myManualWatchRoots.add(ContainerUtil.newHashSet(roots));
|
||||
myManualWatchRoots.add(roots.isEmpty() ? Collections.emptySet() : ContainerUtil.newHashSet(roots));
|
||||
notifyOnAnyEvent();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user