Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-01-12 02:06:40 -0500
committermkersten2007-01-12 02:06:40 -0500
commit3f510792b58032c055dffa6fe14cf3832ef5bebf (patch)
tree6bf999cc261b23161294945d8b307ebe116a1ebe /org.eclipse.mylyn.tasks.core
parent69e25ef97e57e6690d8230f9aec7ccae8bafebdf (diff)
downloadorg.eclipse.mylyn.tasks-3f510792b58032c055dffa6fe14cf3832ef5bebf.tar.gz
org.eclipse.mylyn.tasks-3f510792b58032c055dffa6fe14cf3832ef5bebf.tar.xz
org.eclipse.mylyn.tasks-3f510792b58032c055dffa6fe14cf3832ef5bebf.zip
ui nits
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java
index 20fce7428..0d87d8137 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/DelegatingTaskExternalizer.java
@@ -38,6 +38,8 @@ import org.w3c.dom.NodeList;
* The canCreateElementFor methods specify which tasks the externalizer should
* write to disk.
*
+ * The TaskList is read on startup, so externalizers extending this should not
+ * perform any slow (i.e., network) operations when overriding methods.
*
* @author Mik Kersten
* @author Ken Sueda (XML serialization support)
@@ -515,6 +517,10 @@ public class DelegatingTaskExternalizer implements ITaskListExternalizer {
return false;
}
+ /**
+ * This happens on startup, so connectors should not perform any network operations
+ * when reading queries.
+ */
public AbstractRepositoryQuery readQuery(Node node, TaskList tlist) throws TaskExternalizationException {
// doesn't know how to read any queries
return null;

Back to the top