mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
there is no point in collecting data if fs rescan is needed
This commit is contained in:
@@ -834,13 +834,17 @@ public class BuildManager implements ApplicationComponent{
|
||||
}
|
||||
|
||||
public void addChanged(Collection<String> paths) {
|
||||
myDeleted.removeAll(paths);
|
||||
myChanged.addAll(paths);
|
||||
if (!myNeedRescan) {
|
||||
myDeleted.removeAll(paths);
|
||||
myChanged.addAll(paths);
|
||||
}
|
||||
}
|
||||
|
||||
public void addDeleted(Collection<String> paths) {
|
||||
myChanged.removeAll(paths);
|
||||
myDeleted.addAll(paths);
|
||||
if (!myNeedRescan) {
|
||||
myChanged.removeAll(paths);
|
||||
myDeleted.addAll(paths);
|
||||
}
|
||||
}
|
||||
|
||||
public CmdlineRemoteProto.Message.ControllerMessage.FSEvent createNextEvent() {
|
||||
|
||||
Reference in New Issue
Block a user