This commit is contained in:
Vladimir Krivosheev
2014-10-22 09:55:40 +02:00
parent 3a6b801307
commit 845e5b9dc0
2 changed files with 0 additions and 13 deletions
@@ -50,9 +50,6 @@ public abstract class ProjectManagerEx extends ProjectManager {
public abstract void saveChangedProjectFile(@NotNull VirtualFile file, @NotNull Project project);
@Deprecated
public abstract boolean isFileSavedToBeReloaded(VirtualFile file);
public abstract void blockReloadingProjectOnExternalChanges();
public abstract void unblockReloadingProjectOnExternalChanges();
@@ -693,16 +693,6 @@ public class ProjectManagerImpl extends ProjectManagerEx implements PersistentSt
return ComponentStoreImpl.reloadStore(causes, ((ProjectEx)project).getStateStore()) == ReloadComponentStoreStatus.RESTART_AGREED;
}
@Override
public boolean isFileSavedToBeReloaded(VirtualFile candidate) {
for (Pair<VirtualFile, StateStorage> entry : myChangedProjectFiles.values()) {
if (entry.first.equals(candidate)) {
return true;
}
}
return false;
}
@Override
public void blockReloadingProjectOnExternalChanges() {
myReloadBlockCount.incrementAndGet();