remove unused class & methods
[idea/community.git] / platform / vcs-impl / src / com / intellij / util / continuation / Continuation.java
index a0258742f222a8c5e45817d2024e25405231f8db..f4025a0b62760efd7bdff5572df986779749e972 100644 (file)
@@ -27,10 +27,6 @@ public class Continuation {
     myGeneralRunner = generalRunner;
   }
 
-  public static Continuation createForCurrentProgress(final Project project, final boolean cancellable) {
-    return new Continuation(new SameProgressRunner(project, cancellable));
-  }
-
   public static Continuation createFragmented(final Project project, final boolean cancellable) {
     SeparatePiecesRunner generalRunner = new SeparatePiecesRunner(project, cancellable);
     return new Continuation(generalRunner);
@@ -58,21 +54,6 @@ public class Continuation {
     myGeneralRunner.ping();
   }
 
-  public void resumeOnNewIndicator(final Project project, final boolean cancellable, final String commonTitle) {
-    final SameProgressRunner runner = new SameProgressRunner(project, cancellable);
-    runner.next(myGeneralRunner.myQueue);
-    myGeneralRunner = runner;
-    resume();
-  }
-
-  public void clearQueue() {
-    myGeneralRunner.cancelEverything();
-  }
-
-  public void cancelCurrent() {
-    myGeneralRunner.cancelCurrent();
-  }
-
   public void add(List<TaskDescriptor> list) {
     myGeneralRunner.next(list);
   }