Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-06-15 19:12:19 -0400
committermkersten2006-06-15 19:12:19 -0400
commitc6828f51bb8a67ff3087d11f99641db0f82f24b5 (patch)
tree8659ed2b4cff06aead025e4b2b1f96585a2149b0
parent915d4a49560e053f6cce51e5e9501d394fda82a6 (diff)
downloadorg.eclipse.mylyn.tasks-c6828f51bb8a67ff3087d11f99641db0f82f24b5.tar.gz
org.eclipse.mylyn.tasks-c6828f51bb8a67ff3087d11f99641db0f82f24b5.tar.xz
org.eclipse.mylyn.tasks-c6828f51bb8a67ff3087d11f99641db0f82f24b5.zip
Completed: 147324: Could not download report error
https://bugs.eclipse.org/bugs/show_bug.cgi?id=147324
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java18
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeTaskJob.java6
2 files changed, 1 insertions, 23 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java
index 67432ad15..fd3801f2b 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaTaskEditor.java
@@ -48,38 +48,20 @@ public class BugzillaTaskEditor extends MylarTaskEditor {
private BugzillaTaskEditorInput bugzillaEditorInput;
-// private RepositoryTaskOutlinePage outlinePage = null;
-
-// protected RepositoryTaskOutlineNode bugzillaOutlineModel = null;
-
private IRepositoryTaskAttributeListener ATTRIBUTE_LISTENER = new IRepositoryTaskAttributeListener() {
public void attributeChanged(String attribute, String value) {
// TODO: get rid of this?
if (attribute.equals("Priority")) {
bugTask.setPriority(value);
-// if (TaskListView.getDefault() != null)
-// TaskListView.getDefault().notifyTaskDataChanged(bugTask);
}
}
};
public BugzillaTaskEditor() {
super();
-
- // get the workbench page and add a listener so we can detect when it
- // closes
- // IWorkbench wb = MylarTaskListPlugin.getDefault().getWorkbench();
- // IWorkbenchWindow aw = wb.getActiveWorkbenchWindow();
- // IWorkbenchPage ap = aw.getActivePage();
- // BugzillaTaskEditorListener listener = new
- // BugzillaTaskEditorListener();
- // ap.addPartListener(listener);
-
bugzillaEditor = new ExistingBugEditor();
bugzillaEditor.setParentEditor(this);
bugzillaEditor.addAttributeListener(ATTRIBUTE_LISTENER);
- // taskSummaryEditor = new TaskInfoEditor();
- // taskSummaryEditor.setParentEditor(this);
}
public AbstractRepositoryTaskEditor getBugzillaEditor() {
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeTaskJob.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeTaskJob.java
index 73b955ec6..aa6fcdbb2 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeTaskJob.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/SynchronizeTaskJob.java
@@ -94,16 +94,12 @@ class SynchronizeTaskJob extends Job {
// this.connector.removeRefreshingTask(repositoryTask);
return new Status(IStatus.OK, MylarPlugin.PLUGIN_ID, IStatus.OK, "", null);
}
-
-
+
private boolean isDirty(AbstractRepositoryTask task) {
// TODO: Move out of offline reports
List<MylarTaskEditor> editors = TaskUiUtil.getActiveRepositoryTaskEditors();
for (final MylarTaskEditor editor : editors) {
TaskEditorInput input = (TaskEditorInput) editor.getEditorInput();
- // String handle =
- // AbstractRepositoryTask.getHandle(oldBug.getRepositoryUrl(),
- // oldBug.getId());
if (input.getTask().equals(task) && editor.isDirty()) {
return true;
}

Back to the top