Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.help.base/src/org/eclipse/help/internal/search/XHTMLSearchParticipant.java6
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/DynamicContentProducer.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.help.base/src/org/eclipse/help/internal/search/XHTMLSearchParticipant.java b/org.eclipse.help.base/src/org/eclipse/help/internal/search/XHTMLSearchParticipant.java
index c4defb170..baddad91e 100644
--- a/org.eclipse.help.base/src/org/eclipse/help/internal/search/XHTMLSearchParticipant.java
+++ b/org.eclipse.help.base/src/org/eclipse/help/internal/search/XHTMLSearchParticipant.java
@@ -32,7 +32,7 @@ public class XHTMLSearchParticipant extends XMLSearchParticipant {
public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
- String eid = attributes.getValue("id");
+ String eid = attributes.getValue("id"); //$NON-NLS-1$
if (eid != null && eid.equals(id)) {
stack.push(qName);
active = true;
@@ -69,8 +69,8 @@ public class XHTMLSearchParticipant extends XMLSearchParticipant {
}
protected void handleStartElement(String name, Attributes attributes, IParsedXMLContent data) {
- if (name.equalsIgnoreCase("include")) {
- processIncludedContent(attributes.getValue("path"), data);
+ if (name.equalsIgnoreCase("include")) { //$NON-NLS-1$
+ processIncludedContent(attributes.getValue("path"), data); //$NON-NLS-1$
}
}
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/DynamicContentProducer.java b/org.eclipse.help/src/org/eclipse/help/internal/DynamicContentProducer.java
index c277d3ae5..4d7119565 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/DynamicContentProducer.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/DynamicContentProducer.java
@@ -39,7 +39,7 @@ public class DynamicContentProducer implements IHelpContentProducer {
int loc = href.lastIndexOf('.');
if (loc != -1) {
String extension = href.substring(loc + 1).toLowerCase();
- if ("xhtml".equals(extension))
+ if ("xhtml".equals(extension)) //$NON-NLS-1$
return openXHTMLFromPlugin(pluginID, href, locale.toString());
// place support for other formats here
}

Back to the top