remove unused methods

This commit is contained in:
Kirill Likhodedov
2015-08-08 14:54:06 +03:00
parent 48d2b1dba8
commit fa3e2cd048
@@ -457,23 +457,6 @@ public class VcsDirtyScopeManagerImpl extends VcsDirtyScopeManager implements Pr
return result;
}
private String toStringScopes(final VcsInvalidated vcsInvalidated) {
final StringBuilder sb = new StringBuilder();
sb.append("is everything dirty: ").append(vcsInvalidated.isEverythingDirty()).append(";\n");
for (VcsDirtyScope scope : vcsInvalidated.getScopes()) {
sb.append("|\nFiles: ");
for (FilePath path : scope.getDirtyFiles()) {
sb.append(path).append('\n');
}
sb.append("\nDirs: ");
for (FilePath filePath : scope.getRecursivelyDirtyDirectories()) {
sb.append(filePath).append('\n');
}
}
sb.append("-------------");
return sb.toString();
}
private static class LifeDrop {
private final boolean myDone;
private final boolean mySuspened;
@@ -532,18 +515,6 @@ public class VcsDirtyScopeManagerImpl extends VcsDirtyScopeManager implements Pr
}
}
public LifeDrop doIfAliveAndNotSuspended(final Runnable runnable) {
synchronized (myLock) {
synchronized (myLock) {
if (LifeStages.ALIVE.equals(myStage) && ! mySuspended) {
runnable.run();
return new LifeDrop(true, mySuspended);
}
return new LifeDrop(false, mySuspended);
}
}
}
// allow work under inner lock: inner class, not wide scope
public LifeDrop doIfAlive(final Runnable runnable) {
synchronized (myLock) {