Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKentarou Fukuda2015-05-05 19:50:08 +0000
committerKentarou Fukuda2015-05-05 19:50:08 +0000
commit0ce01b3cf1527ad2091f8206040678103dace713 (patch)
tree75d19dc7ea341c3975d89c769309957c659a6410
parent4023704c72e7ab4a98e8649cf65afe54c70f5e1a (diff)
downloadorg.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.tar.gz
org.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.tar.xz
org.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.zip
[466409] reduce warningsACTF_130
-rw-r--r--plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java b/plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java
index 9a02486..1be2d19 100644
--- a/plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java
+++ b/plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java
@@ -58,14 +58,14 @@ class XPathServiceImpl extends XPathService {
}
}
- @SuppressWarnings("unchecked")
- @Override
+ @Override
public NodeList evalForNodeList(Object compiled, Node base) {
CompiledExpression ce = (CompiledExpression) compiled;
JXPathContext bctx = JXPathContext.newContext(base.getOwnerDocument());
Pointer ptr = new DOMExNodePointer(base, null);
JXPathContext ctx = bctx.getRelativeContext(ptr);
- Iterator it = ce.iteratePointers(ctx);
+ @SuppressWarnings("rawtypes")
+ Iterator it = ce.iteratePointers(ctx);
if (!it.hasNext()) return EmptyNodeListImpl.getInstance();
List<Node> result = new ArrayList<Node>();
do {

Back to the top