Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4343

DataModel can not return next element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3-next-M2
    • 2.3-next-M3
    • None
    • None

    Description

      DataModel can not return next element, the condition shoud be reversed.

      public E next() {
        if (hasNext()) {
          throw new NoSuchElementException("Couldn't find any element in DataModel at index " + nextRowIndex);
        }
        ...
      }
      

       

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            krpata Jan Krpata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: