Skip to content

Commit 688bc8e

Browse files
committed
org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String,
Expression) now uses generics
1 parent b2e40ba commit 688bc8e

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
@@ -136,6 +136,7 @@ The <action> type attribute can be add,update,fix,remove.
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>
138138
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String) now uses generics.</action>
139+
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String, Expression) now uses generics.</action>
139140
<!-- ADD -->
140141
<action issue="JXPATH-123" dev="mbenson" type="add">
141142
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
@@ -649,7 +649,7 @@ public Iterator<Pointer> iteratePointers(final String xpath) {
649649
* @param expr compiled Expression
650650
* @return Iterator
651651
*/
652-
public Iterator iteratePointers(final String xpath, final Expression expr) {
652+
public Iterator<Pointer> iteratePointers(final String xpath, final Expression expr) {
653653
return expr.iteratePointers(getEvalContext());
654654
}
655655

0 commit comments

Comments
 (0)