Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java
index 3582c1b31..614ac02be 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/Worker.java
@@ -34,7 +34,7 @@ public class Worker implements IRunnableWithProgress {
private WorkProgressMonitor currentMonitor;
private IRunnableWithProgress currentTask;
private final String taskName;
-
+
/**
* Progress monitor that supports local cancellation of a task.
*/
@@ -54,11 +54,11 @@ public class Worker implements IRunnableWithProgress {
return localCancel || super.isCanceled();
}
}
-
+
public Worker(String taskName) {
this.taskName = taskName;
}
-
+
@Override
public void run(IProgressMonitor monitor) {
errors.clear();
@@ -98,7 +98,7 @@ public class Worker implements IRunnableWithProgress {
private void handleError(Throwable targetException) {
errors.add(targetException);
}
-
+
public Throwable[] getErrors() {
return errors.toArray(new Throwable[errors.size()]);
}

Back to the top