[vfs] minor memory optimization

This commit is contained in:
Roman Shevchenko
2016-04-06 18:52:06 +02:00
parent 21827bed2a
commit ba096e237b
@@ -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();
}