diff options
author | Frank Becker | 2013-01-30 18:09:14 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-04-24 19:01:49 +0000 |
commit | d4790d2b871b85fc4bc19c2bffab7ff5b7598c3b (patch) | |
tree | d4f9f2ef529333b3ead7a9f6aba2b7c85ef06912 /org.eclipse.mylyn.trac.core | |
parent | 7627c6238dbfbc112cfd78c02c41979d3a70c699 (diff) | |
download | org.eclipse.mylyn.tasks-d4790d2b871b85fc4bc19c2bffab7ff5b7598c3b.tar.gz org.eclipse.mylyn.tasks-d4790d2b871b85fc4bc19c2bffab7ff5b7598c3b.tar.xz org.eclipse.mylyn.tasks-d4790d2b871b85fc4bc19c2bffab7ff5b7598c3b.zip |
399302: reduce the number of warnings for all Tasks plugins
Change-Id: I1d847f36aa28feae51a8b71b048d6111fa155df5
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=399302
Diffstat (limited to 'org.eclipse.mylyn.trac.core')
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracSslCertificateException.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracSslCertificateException.java index 519ee1adc..0e47ddabe 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracSslCertificateException.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/client/TracSslCertificateException.java @@ -19,7 +19,7 @@ public class TracSslCertificateException extends TracException { private static final long serialVersionUID = -693879319319751584L; public TracSslCertificateException() { - super("Opening of the certificate keystore failed"); + super("Opening of the certificate keystore failed"); //$NON-NLS-1$ } } 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 9660753cf..13c4be1fa 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 @@ -399,7 +399,7 @@ public class TracWebClient extends AbstractTracClient { ticket.putBuiltinValue(Key.REPORTER, getText(tokenizer)); } // TODO handle custom fields - } else if ((tag.getTagType() == Tag.H2 && ("summary".equals(tag.getAttribute("class")) || "summary searchable".equals(tag.getAttribute("class")))) + } else if ((tag.getTagType() == Tag.H2 && ("summary".equals(tag.getAttribute("class")) || "summary searchable".equals(tag.getAttribute("class")))) //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ || tag.getTagType() == Tag.SPAN && ("summary".equals(tag.getAttribute("class")))) { //$NON-NLS-1$ //$NON-NLS-2$ ticket.putBuiltinValue(Key.SUMMARY, getText(tokenizer)); } else if (tag.getTagType() == Tag.H3 && "status".equals(tag.getAttribute("class"))) { //$NON-NLS-1$ //$NON-NLS-2$ @@ -547,7 +547,7 @@ public class TracWebClient extends AbstractTracClient { HtmlTag tag = (HtmlTag) token.getValue(); if (tag.getTagType() == Tag.SCRIPT) { String text = getText(tokenizer).trim(); - int i = text.indexOf("var properties="); + int i = text.indexOf("var properties="); //$NON-NLS-1$ if (i != -1) { if (!parseAttributesJSon(text.substring(i))) { // fall back |