Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/TaskListExternalizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/TaskListExternalizer.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/TaskListExternalizer.java
index da672eef3..18da3039a 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/TaskListExternalizer.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/internal/TaskListExternalizer.java
@@ -99,7 +99,7 @@ public class TaskListExternalizer {
}
if (element == null && defaultExternalizer.canCreateElementFor(category)) {
defaultExternalizer.createCategoryElement(category, doc, root);
- } else {
+ } else if(element == null){
MylarPlugin.log("Did not externalize: " + category, this);
}
}
@@ -111,7 +111,7 @@ public class TaskListExternalizer {
}
if (element == null && defaultExternalizer.canCreateElementFor(task)) {
defaultExternalizer.createTaskElement(task, doc, root);
- } else {
+ } else if(element == null){
MylarPlugin.log("Did not externalize: " + task, this);
}
}catch (Exception e) {

Back to the top