Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-08-31 20:10:16 +0000
committerspingel2009-08-31 20:10:16 +0000
commite8569061b339be8d15c57c51eed8b163acd0c339 (patch)
treeb6bcccd6049fa0ce70f4be92f11257da04194ee7 /org.eclipse.mylyn.trac.core
parent62226af8c1bee0c840c105345c7f79189a821fe0 (diff)
downloadorg.eclipse.mylyn.tasks-e8569061b339be8d15c57c51eed8b163acd0c339.tar.gz
org.eclipse.mylyn.tasks-e8569061b339be8d15c57c51eed8b163acd0c339.tar.xz
org.eclipse.mylyn.tasks-e8569061b339be8d15c57c51eed8b163acd0c339.zip
NEW - bug 288070: fix failing tests in TracClientTest
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288070
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
index 15ec9f823..6da41cb08 100644
--- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
+++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java
@@ -433,8 +433,8 @@ public class TracWebClient extends AbstractTracClient {
} else if (version.startsWith("Trac 0.11")) { //$NON-NLS-1$
return new TracRepositoryInfo(1, 0, 0, version);
} else {
- throw new TracException(NLS.bind(
- Messages.TracWebClient_Trac_version_X_is_unsupported_Error, version));
+ throw new TracException(NLS.bind(Messages.TracWebClient_Trac_version_X_is_unsupported_Error,
+ version));
}
}
@@ -744,6 +744,8 @@ public class TracWebClient extends AbstractTracClient {
sb.append(" "); //$NON-NLS-1$
} else if (token.getType() == Token.COMMENT) {
// ignore
+ } else if (token.getType() == Token.TAG && ((HtmlTag) token.getValue()).getTagType() == Tag.A) {
+ // ignore, Trac 0.11 wraps milestone values in links
} else {
break;
}

Back to the top