mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
vcs: remove hack
This looks extremely suspicious and doesn't seem to be necessary anymore.
This commit is contained in:
committed by
Aleksey Pivovarov
parent
940b794133
commit
21ca6958f0
@@ -557,12 +557,6 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
|
||||
|
||||
private boolean checkScopeIsEmpty(VcsInvalidated invalidated) {
|
||||
if (invalidated == null) return true;
|
||||
if (invalidated.isEmpty() && invalidated.isEverythingDirty()) {
|
||||
// a hack here; but otherwise everything here should be refactored ;)
|
||||
VcsDirtyScopeManager.getInstance(myProject).markEverythingDirty();
|
||||
return true;
|
||||
}
|
||||
|
||||
if (invalidated.isEverythingDirty()) return false;
|
||||
if (invalidated.isEmpty()) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user