diff --git a/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java b/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java index d0669c426807..988179e30a2f 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java +++ b/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java @@ -139,7 +139,7 @@ public class PatchApplier { public void execute(boolean showSuccessNotification) { final Continuation continuation = ApplicationManager.getApplication().isDispatchThread() ? Continuation.createFragmented(myProject, true) : - Continuation.createForCurrentProgress(myProject, true, "Apply patch"); + Continuation.createForCurrentProgress(myProject, true); final GatheringContinuationContext initContext = new GatheringContinuationContext(); scheduleSelf(showSuccessNotification, initContext, false); diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java index 3e5d7baf84d5..d40688d3fe70 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/shelf/ShelveChangesManager.java @@ -361,7 +361,7 @@ public class ShelveChangesManager extends AbstractProjectComponent implements JD @Nullable final List binaryFiles, @Nullable final LocalChangeList targetChangeList, boolean showSuccessNotification) { - final Continuation continuation = Continuation.createForCurrentProgress(myProject, true, "Unshelve changes"); + final Continuation continuation = Continuation.createForCurrentProgress(myProject, true); final GatheringContinuationContext initContext = new GatheringContinuationContext(); scheduleUnshelveChangeList(changeList, changes, binaryFiles, targetChangeList, showSuccessNotification, initContext, false, false, null, null); diff --git a/platform/vcs-impl/src/com/intellij/util/continuation/Continuation.java b/platform/vcs-impl/src/com/intellij/util/continuation/Continuation.java index 16855c801571..a0258742f222 100644 --- a/platform/vcs-impl/src/com/intellij/util/continuation/Continuation.java +++ b/platform/vcs-impl/src/com/intellij/util/continuation/Continuation.java @@ -27,8 +27,8 @@ public class Continuation { myGeneralRunner = generalRunner; } - public static Continuation createForCurrentProgress(final Project project, final boolean cancellable, final String commonTitle) { - return new Continuation(new SameProgressRunner(project, cancellable, commonTitle)); + 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) { @@ -59,7 +59,7 @@ public class Continuation { } public void resumeOnNewIndicator(final Project project, final boolean cancellable, final String commonTitle) { - final SameProgressRunner runner = new SameProgressRunner(project, cancellable, commonTitle); + final SameProgressRunner runner = new SameProgressRunner(project, cancellable); runner.next(myGeneralRunner.myQueue); myGeneralRunner = runner; resume(); diff --git a/platform/vcs-impl/src/com/intellij/util/continuation/SameProgressRunner.java b/platform/vcs-impl/src/com/intellij/util/continuation/SameProgressRunner.java index 63b20a14ed96..5cea20d1ed43 100644 --- a/platform/vcs-impl/src/com/intellij/util/continuation/SameProgressRunner.java +++ b/platform/vcs-impl/src/com/intellij/util/continuation/SameProgressRunner.java @@ -36,7 +36,7 @@ public class SameProgressRunner extends GeneralRunner { private final Semaphore mySemaphore; private final static Logger LOG = Logger.getInstance("#com.intellij.util.continuation.SameProgressRunner"); - public SameProgressRunner(Project project, boolean cancellable, final String commonName) { + public SameProgressRunner(Project project, boolean cancellable) { super(project, cancellable); final Application application = ApplicationManager.getApplication(); diff --git a/plugins/git4idea/src/git4idea/update/GitComplexProcess.java b/plugins/git4idea/src/git4idea/update/GitComplexProcess.java index 6b14627f8a96..a43daa66f568 100644 --- a/plugins/git4idea/src/git4idea/update/GitComplexProcess.java +++ b/plugins/git4idea/src/git4idea/update/GitComplexProcess.java @@ -118,7 +118,7 @@ public class GitComplexProcess { } private void run() { - Continuation continuation = Continuation.createForCurrentProgress(myProject, true, myTitle); + Continuation continuation = Continuation.createForCurrentProgress(myProject, true); String taskTitle = "Git: " + myTitle; TaskDescriptor operation = new TaskDescriptor(taskTitle, Where.POOLED) { @Override public void run(final ContinuationContext context) {