Skip to content

Commit 868105b

Browse files
committed
org.apache.commons.jxpath.CompiledExpression.iteratePointers(JXPathContext)
now uses generics - org.apache.commons.jxpath.JXPathCompiledExpression.iteratePointers(JXPathContext) now uses generics
1 parent 688bc8e commit 868105b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/changes/changes.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ The <action> type attribute can be add,update,fix,remove.
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>
139139
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.iteratePointers(String, Expression) now uses generics.</action>
140+
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.CompiledExpression.iteratePointers(JXPathContext) now uses generics.</action>
141+
<action dev="ggregory" type="fix" due-to="Gary Gregory">org.apache.commons.jxpath.JXPathCompiledExpression.iteratePointers(JXPathContext) now uses generics.</action>
140142
<!-- ADD -->
141143
<action issue="JXPATH-123" dev="mbenson" type="add">
142144
XPath function "ends-with" is not implemented (although "starts-with" is).

src/main/java/org/apache/commons/jxpath/CompiledExpression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public interface CompiledExpression {
9999
* @param context to iterate
100100
* @return Iterator
101101
*/
102-
Iterator iteratePointers(JXPathContext context);
102+
Iterator<Pointer> iteratePointers(JXPathContext context);
103103

104104
/**
105105
* Remove all graph elements described by this expression.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Iterator iterate(final JXPathContext context) {
9292
}
9393

9494
@Override
95-
public Iterator iteratePointers(final JXPathContext context) {
95+
public Iterator<Pointer> iteratePointers(final JXPathContext context) {
9696
return ((JXPathContextReferenceImpl) context).iteratePointers(xpath, expression);
9797
}
9898

0 commit comments

Comments
 (0)