Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-09-16 22:16:09 -0400
committerspingel2009-09-16 22:16:09 -0400
commitacf0330ba80656e06b27f7f0c57d93d79739043e (patch)
treeb1f848110f972d068d261a472ada09407c65453a /org.eclipse.mylyn.tasks.core
parentc1142b93f117f01e32e8348abbf04006ae15e649 (diff)
downloadorg.eclipse.mylyn.tasks-acf0330ba80656e06b27f7f0c57d93d79739043e.tar.gz
org.eclipse.mylyn.tasks-acf0330ba80656e06b27f7f0c57d93d79739043e.tar.xz
org.eclipse.mylyn.tasks-acf0330ba80656e06b27f7f0c57d93d79739043e.zip
NEW - bug 280161: cleanup fixme and todo comments for 3.3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280161
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskMapper.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskMapper.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskMapper.java
index d9632750f..1a4107e8b 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskMapper.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/data/TaskMapper.java
@@ -23,7 +23,6 @@ import org.eclipse.mylyn.tasks.core.ITask.PriorityLevel;
* @author Steffen Pingel
* @since 3.0
*/
-// TODO 3.3 add setTaskKey() method
public class TaskMapper implements ITaskMapping {
private final boolean createNonExistingAttributes;
@@ -435,6 +434,13 @@ public class TaskMapper implements ITaskMapping {
setValue(TaskAttribute.TASK_KIND, taskKind);
}
+ /**
+ * @since 3.3
+ */
+ public void setTaskKey(String taskKey) {
+ setValue(TaskAttribute.TASK_KEY, taskKey);
+ }
+
public void setTaskUrl(String taskUrl) {
setValue(TaskAttribute.TASK_URL, taskUrl);
}

Back to the top