summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-08 09:56:35 (EST)
committer Steffen Pingel2012-02-08 09:56:35 (EST)
commit1ed0499f33860264f9efd2e8e6824b7a28440df0 (patch)
tree7ea289b36f13e4a1e29e38757098fb75a872faf2
parent23253ed67a41de9e4fb47c8172ac2282e4e1447f (diff)
downloadorg.eclipse.mylyn.tasks-1ed0499f33860264f9efd2e8e6824b7a28440df0.zip
org.eclipse.mylyn.tasks-1ed0499f33860264f9efd2e8e6824b7a28440df0.tar.gz
org.eclipse.mylyn.tasks-1ed0499f33860264f9efd2e8e6824b7a28440df0.tar.bz2
RESOLVED - bug 370826: update test server to Trac 0.12.3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=370826 Change-Id: I5f7bdf5e8e77178da3b6e29168ca31334c0523ad
-rw-r--r--org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracWebClient.java6
1 files changed, 2 insertions, 4 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 21dc8da..307a254 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
@@ -678,6 +678,7 @@ public class TracWebClient extends AbstractTracClient {
while ((tokenType = t.nextToken()) != StreamTokenizer.TT_EOF) {
switch (tokenType) {
case StreamTokenizer.TT_WORD:
+ case '"':
if (state == AttributeState.IN_LIST) {
attributeFactory = configuration.getFactoryByField(t.sval);
if (attributeFactory != null) {
@@ -685,10 +686,7 @@ public class TracWebClient extends AbstractTracClient {
}
} else if (state == AttributeState.IN_ATTRIBUTE_KEY) {
attributeType = t.sval;
- }
- break;
- case '"':
- if (state == AttributeState.IN_ATTRIBUTE_VALUE_LIST && "options".equals(attributeType)) { //$NON-NLS-1$
+ } else if (state == AttributeState.IN_ATTRIBUTE_VALUE_LIST && "options".equals(attributeType)) { //$NON-NLS-1$
if (attributeFactory != null) {
attributeFactory.addAttribute(t.sval);
}