Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2013-03-17 11:53:33 -0400
committerGerrit Code Review @ Eclipse.org2013-04-04 16:13:53 -0400
commitf347119a4bf8b66da847fe33b6cf876ca0589d65 (patch)
tree667b6cc334e9513480e425e8fb3a8a778bad5d13 /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal
parent4fab82832b62aba26c4416885174adbfd4c68596 (diff)
downloadorg.eclipse.mylyn.tasks-f347119a4bf8b66da847fe33b6cf876ca0589d65.tar.gz
org.eclipse.mylyn.tasks-f347119a4bf8b66da847fe33b6cf876ca0589d65.tar.xz
org.eclipse.mylyn.tasks-f347119a4bf8b66da847fe33b6cf876ca0589d65.zip
403571: fix failing Task tests
Change-Id: I76d3d606c2a0a44653a78232e626a6e3afe48453 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=403571
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/data/TaskDataStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataStore.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataStore.java
index 20ec91a39..cd6b24f34 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataStore.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/data/TaskDataStore.java
@@ -137,7 +137,7 @@ public class TaskDataStore {
} catch (SAXException e) {
// bug 268456: if reading fails, try again using a different XML version
if (e.getMessage() != null
- && (e.getMessage().contains("invalid XML character") || e.getMessage().contains("Character reference \"&#"))) { //$NON-NLS-1$ //$NON-NLS-2$
+ && (e.getMessage().contains("invalid XML character") || e.getMessage().contains(" \"&#"))) { //$NON-NLS-1$ //$NON-NLS-2$
return readStateInternal(file, true);
} else {
throw e;

Back to the top