diff options
author | Kentarou Fukuda | 2015-05-05 19:50:08 +0000 |
---|---|---|
committer | Kentarou Fukuda | 2015-05-05 19:50:08 +0000 |
commit | 0ce01b3cf1527ad2091f8206040678103dace713 (patch) | |
tree | 75d19dc7ea341c3975d89c769309957c659a6410 | |
parent | 4023704c72e7ab4a98e8649cf65afe54c70f5e1a (diff) | |
download | org.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.tar.gz org.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.tar.xz org.eclipse.actf.common-0ce01b3cf1527ad2091f8206040678103dace713.zip |
-rw-r--r-- | plugins/org.eclipse.actf.util.jxpath/src/org/eclipse/actf/util/jxpath/XPathServiceImpl.java | 6 |
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 { |