Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDejan Gloszic2006-02-09 16:57:18 -0500
committerDejan Gloszic2006-02-09 16:57:18 -0500
commit3c34d603453646985cc7695029c7f16df88bbaa0 (patch)
tree7899a3397a272535a482d62498aef6c0659f8a8b /org.eclipse.help
parent63cc677f794e4c2179aa894af4c2693b1fc93720 (diff)
downloadeclipse.platform.ua-3c34d603453646985cc7695029c7f16df88bbaa0.tar.gz
eclipse.platform.ua-3c34d603453646985cc7695029c7f16df88bbaa0.tar.xz
eclipse.platform.ua-3c34d603453646985cc7695029c7f16df88bbaa0.zip
*** empty log message ***
Diffstat (limited to 'org.eclipse.help')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/FilterableUAElement.java4
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/toc/TocFileParser.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/FilterableUAElement.java b/org.eclipse.help/src/org/eclipse/help/internal/FilterableUAElement.java
index 588c5fa15..abd76de48 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/FilterableUAElement.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/FilterableUAElement.java
@@ -74,9 +74,9 @@ public abstract class FilterableUAElement {
NodeList list = element.getChildNodes();
for (int i=0;i<list.getLength();++i) {
Node node = list.item(i);
- if (node.getNodeType() == Node.ELEMENT_NODE && "filter".equals(node.getNodeName())) {
+ if (node.getNodeType() == Node.ELEMENT_NODE && "filter".equals(node.getNodeName())) { //$NON-NLS-1$
Element elementNode = (Element)node;
- addFilter(elementNode.getAttribute("name"), elementNode.getAttribute("value"));
+ addFilter(elementNode.getAttribute("name"), elementNode.getAttribute("value")); //$NON-NLS-1$ //$NON-NLS-2$
}
}
}
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFileParser.java b/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFileParser.java
index 55b73dbd0..ab78f203d 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFileParser.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/toc/TocFileParser.java
@@ -123,8 +123,8 @@ class TocFileParser extends DefaultHandler {
Object parent = elementStack.peek();
if (parent instanceof FilterableUAElement && atts != null) {
FilterableUAElement filterableNode = (FilterableUAElement)parent;
- String name = atts.getValue("name");
- String value = atts.getValue("value");
+ String name = atts.getValue("name"); //$NON-NLS-1$
+ String value = atts.getValue("value"); //$NON-NLS-1$
if (name != null && value != null) {
filterableNode.addFilter(name, value);
}

Back to the top