Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-06-05 21:18:08 -0400
committermkersten2007-06-05 21:18:08 -0400
commit19494721a5cfb6d48754cc2a62110c96a3eca91a (patch)
tree15b199354b5ca6cdeab26c85acfa322e2f297c8f /org.eclipse.mylyn.trac.ui
parent3f3239b0882f612ab39b7fd2522f3b03101f043b (diff)
downloadorg.eclipse.mylyn.tasks-19494721a5cfb6d48754cc2a62110c96a3eca91a.tar.gz
org.eclipse.mylyn.tasks-19494721a5cfb6d48754cc2a62110c96a3eca91a.tar.xz
org.eclipse.mylyn.tasks-19494721a5cfb6d48754cc2a62110c96a3eca91a.zip
NEW - bug 166609: [api] improve task externalization API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=166609
Diffstat (limited to 'org.eclipse.mylyn.trac.ui')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java6
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
index d58957802..4dfdac37b 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracRepositoryUi.java
@@ -116,15 +116,15 @@ public class TracRepositoryUi extends AbstractRepositoryConnectorUi {
public List<ITaskListElement> getLegendItems() {
List<ITaskListElement> legendItems = new ArrayList<ITaskListElement>();
- TracTask defect = new TracTask("", Kind.DEFECT.name(), Kind.DEFECT.toString(), false);
+ TracTask defect = new TracTask("", Kind.DEFECT.name(), Kind.DEFECT.toString());
defect.setKind(Kind.DEFECT.toString());
legendItems.add(defect);
- TracTask enhancement = new TracTask("", Kind.ENHANCEMENT.name(), Kind.ENHANCEMENT.toString(), false);
+ TracTask enhancement = new TracTask("", Kind.ENHANCEMENT.name(), Kind.ENHANCEMENT.toString());
enhancement.setKind(Kind.ENHANCEMENT.toString());
legendItems.add(enhancement);
- TracTask task = new TracTask("", Kind.TASK.name(), Kind.TASK.toString(), false);
+ TracTask task = new TracTask("", Kind.TASK.name(), Kind.TASK.toString());
task.setKind(Kind.TASK.toString());
legendItems.add(task);
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
index 19072707b..a12131db1 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/TracTaskExternalizer.java
@@ -68,7 +68,7 @@ public class TracTaskExternalizer extends DelegatingTaskExternalizer {
@Override
public ITask createTask(String repositoryUrl, String taskId, String summary, Element element, TaskList taskList,
AbstractTaskContainer category, ITask parent) throws TaskExternalizationException {
- TracTask task = new TracTask(repositoryUrl, taskId, summary, false);
+ TracTask task = new TracTask(repositoryUrl, taskId, summary);
return task;
}

Back to the top