Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Folk2014-10-29 12:45:05 -0400
committerSam Davis2014-10-30 18:13:31 -0400
commitc1f5d8e09359c93afe76143e9f10352753692aa4 (patch)
tree6e9d89fc0ab2a18ce765880d7224bd7aab3ecf41 /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal
parentdcdbb2290e00179f91eb07c941631fd8a3bf9d0a (diff)
downloadorg.eclipse.mylyn.tasks-c1f5d8e09359c93afe76143e9f10352753692aa4.tar.gz
org.eclipse.mylyn.tasks-c1f5d8e09359c93afe76143e9f10352753692aa4.tar.xz
org.eclipse.mylyn.tasks-c1f5d8e09359c93afe76143e9f10352753692aa4.zip
provide attachment attribute when attaching context
Change-Id: I21644f2c77c51385e4e282e3a16eed0aea139b27 Signed-off-by: Nicholas Folk <Nicholas.folk@tasktop.com>
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/sync/SubmitTaskAttachmentJob.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SubmitTaskAttachmentJob.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SubmitTaskAttachmentJob.java
index 04e84064f..1b91c1eb2 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SubmitTaskAttachmentJob.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/sync/SubmitTaskAttachmentJob.java
@@ -95,8 +95,9 @@ public class SubmitTaskAttachmentJob extends SubmitJob {
subMonitorFor(monitor, 100));
fireTaskSubmitted(monitor);
monitor.subTask(Messages.SubmitTaskAttachmentJob_Updating_task);
- TaskData taskData = connector.getTaskData(taskRepository, task.getTaskId(), subMonitorFor(monitor, 100));
- taskDataManager.putUpdatedTaskData(task, taskData, true);
+ TaskData updatedTaskData = connector.getTaskData(taskRepository, task.getTaskId(),
+ subMonitorFor(monitor, 100));
+ taskDataManager.putUpdatedTaskData(task, updatedTaskData, true);
fireTaskSynchronized(monitor);
} catch (CoreException e) {
errorStatus = e.getStatus();

Back to the top