Skip to content

Commit b2e40ba

Browse files
committed
org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String)
now uses generics
1 parent 87f4472 commit b2e40ba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ The <action> type attribute can be add,update,fix,remove.
135135
<action dev="ggregory" type="fix" due-to="Gary Gregory">ExpressionContext.getContextNodeList() now uses generics.</action>
136136
<action dev="ggregory" type="fix" due-to="Gary Gregory">BasicTypeConverter.unmodifiableCollection(Collection) now uses generics.</action>
137137
<action dev="ggregory" type="fix" due-to="Gary Gregory. PMD">Fix PMD AvoidDecimalLiteralsInBigDecimalConstructor in org.apache.commons.jxpath.util.BasicTypeConverter.allocateNumber(Class, double).</action>
138+
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String) now uses generics.</action>
138139
<!-- ADD -->
139140
<action issue="JXPATH-123" dev="mbenson" type="add">
140141
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ public Iterator iterate(final String xpath, final Expression expr) {
637637
* @return Iterator
638638
*/
639639
@Override
640-
public Iterator iteratePointers(final String xpath) {
640+
public Iterator<Pointer> iteratePointers(final String xpath) {
641641
return iteratePointers(xpath, compileExpression(xpath));
642642
}
643643

0 commit comments

Comments
 (0)