Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-11-05 06:22:46 -0400
committerSteffen Pingel2011-11-05 06:22:46 -0400
commit149bc5e89936c44ccaa3080e919697db277c8a92 (patch)
tree19f8d3244e7901cb56cacf1cf85f67c7b036da06 /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal
parentc32f9d0154bdcb82f70615c15638e2ec56dcf0f1 (diff)
downloadorg.eclipse.mylyn.tasks-149bc5e89936c44ccaa3080e919697db277c8a92.tar.gz
org.eclipse.mylyn.tasks-149bc5e89936c44ccaa3080e919697db277c8a92.tar.xz
org.eclipse.mylyn.tasks-149bc5e89936c44ccaa3080e919697db277c8a92.zip
NEW - bug 362352: [regression] copy context moves active time
https://bugs.eclipse.org/bugs/show_bug.cgi?id=362352 Change-Id: Iea8c4b27f69277914e1b75cac2dd803c11d5ea1f
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/context/DefaultTaskContextStore.java18
1 files changed, 12 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/context/DefaultTaskContextStore.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/context/DefaultTaskContextStore.java
index 394b42bb9..c35f23c4d 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/context/DefaultTaskContextStore.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/context/DefaultTaskContextStore.java
@@ -35,7 +35,7 @@ public class DefaultTaskContextStore extends AbstractTaskContextStore {
private File contextDirectory;
@Override
- public IAdaptable cloneContext(ITask sourceTask, ITask destinationTask) {
+ public IAdaptable copyContext(ITask sourceTask, ITask destinationTask) {
return null;
}
@@ -73,6 +73,17 @@ public class DefaultTaskContextStore extends AbstractTaskContextStore {
return file.exists();
}
+ @Override
+ public void mergeContext(ITask sourceTask, ITask targetTask) {
+ // ignore
+ }
+
+ @Override
+ public IAdaptable moveContext(ITask sourceTask, ITask destinationTask) {
+ // ignore
+ return null;
+ }
+
/**
* @since 3.7
*/
@@ -91,9 +102,4 @@ public class DefaultTaskContextStore extends AbstractTaskContextStore {
this.contextDirectory = directory;
}
- @Override
- public void mergeContext(ITask sourceTask, ITask targetTask) {
- // ignore
- }
-
}

Back to the top