Adam Lally (JIRA) wrote:
[ https://issues.apache.org/jira/browse/UIMA-911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579625#action_12579625 ]
Adam Lally commented on UIMA-911:
---------------------------------
I don't think this is a bug. This is meant to work the same as Java Iterators.
If you call an iterator's hasNext() method twice, it gives you the same value
and does not advance the iterator.
+1. I don't think we want to change the contract for this to one which
guarantees hasNext can only be called once.
-Marshall