mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove unused field
This commit is contained in:
@@ -69,7 +69,7 @@ class CallbackData {
|
||||
}
|
||||
else {
|
||||
if (mode.isSynchronous()) {
|
||||
final Waiter waiter = new Waiter(project, afterUpdate, state,
|
||||
final Waiter waiter = new Waiter(project, afterUpdate,
|
||||
VcsBundle.message("change.list.manager.wait.lists.synchronization", title), mode.isCancellable());
|
||||
return new CallbackData(
|
||||
new Runnable() {
|
||||
|
||||
@@ -32,7 +32,7 @@ class FictiveBackgroundable extends Task.Backgroundable {
|
||||
final ModalityState state) {
|
||||
super(project, VcsBundle.message("change.list.manager.wait.lists.synchronization", title), cancellable);
|
||||
myState = state;
|
||||
myWaiter = new Waiter(project, runnable, state, VcsBundle.message("change.list.manager.wait.lists.synchronization", title), cancellable);
|
||||
myWaiter = new Waiter(project, runnable, VcsBundle.message("change.list.manager.wait.lists.synchronization", title), cancellable);
|
||||
}
|
||||
|
||||
public void run(@NotNull final ProgressIndicator indicator) {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package com.intellij.openapi.vcs.changes;
|
||||
|
||||
import com.intellij.openapi.application.ModalityState;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
import com.intellij.openapi.progress.Task;
|
||||
@@ -25,16 +24,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class Waiter extends Task.Modal {
|
||||
private final Logger LOG = Logger.getInstance("#com.intellij.openapi.vcs.changes.Waiter");
|
||||
private final ModalityState myState;
|
||||
private final Runnable myRunnable;
|
||||
private boolean myStarted;
|
||||
private boolean myDone;
|
||||
private final Object myLock = new Object();
|
||||
|
||||
public Waiter(final Project project, final Runnable runnable, final ModalityState state, final String title, final boolean cancellable) {
|
||||
public Waiter(final Project project, final Runnable runnable, final String title, final boolean cancellable) {
|
||||
super(project, title, cancellable);
|
||||
myRunnable = runnable;
|
||||
myState = state;
|
||||
myDone = false;
|
||||
myStarted = false;
|
||||
setCancelText("Skip");
|
||||
|
||||
Reference in New Issue
Block a user