diff options
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java index 366cd3373..1ca78f312 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/actions/DownloadAttachmentJob.java @@ -17,7 +17,7 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.mylyn.internal.monitor.core.util.StatusManager; +import org.eclipse.mylyn.monitor.core.StatusHandler; import org.eclipse.mylyn.tasks.core.AbstractAttachmentHandler; import org.eclipse.mylyn.tasks.core.AbstractRepositoryConnector; import org.eclipse.mylyn.tasks.core.RepositoryAttachment; @@ -65,7 +65,7 @@ public class DownloadAttachmentJob extends Job { out = new FileOutputStream(this.targetFile); handler.downloadAttachment(repository, attachment, out, monitor); } catch (final CoreException e) { - StatusManager.displayStatus("Download Attachment", e.getStatus()); + StatusHandler.displayStatus("Download Attachment", e.getStatus()); return Status.OK_STATUS; } catch (IOException e) { return new RepositoryStatus(repository, IStatus.WARNING, TasksUiPlugin.ID_PLUGIN, RepositoryStatus.ERROR_IO, @@ -75,7 +75,7 @@ public class DownloadAttachmentJob extends Job { try { out.close(); } catch (IOException e) { - StatusManager.fail(e, "Could not close attachment file: " + this.targetFile.getAbsolutePath(), + StatusHandler.fail(e, "Could not close attachment file: " + this.targetFile.getAbsolutePath(), false); } } |