You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jan Krpata (Jira)" <de...@myfaces.apache.org> on 2020/06/19 10:18:00 UTC
[jira] [Created] (MYFACES-4343) DataModel can not return next
element
Jan Krpata created MYFACES-4343:
-----------------------------------
Summary: DataModel can not return next element
Key: MYFACES-4343
URL: https://issues.apache.org/jira/browse/MYFACES-4343
Project: MyFaces Core
Issue Type: Bug
Reporter: Jan Krpata
DataModel can not return next element, the condition shoud be reversed.
{code:java}
public E next() {
if (hasNext()) {
throw new NoSuchElementException("Couldn't find any element in DataModel at index " + nextRowIndex);
}
...
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)