Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-6

VersionIteratorImpl problem?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • None
    • JCR API
    • None
    • WinXP

    Description

      I meet with problem in VersionIterator:
      Classic nextVersion()/hasNext() loop for VersionIterator become endless.

      I think problem with peek/pop misprint:

      public Version nextVersion()

      { ....... InternalVersion ret = (InternalVersion) successors.<b>peek</b>(); ...... }

      I change to
      InternalVersion ret = (InternalVersion) successors.<b>pop</b>();

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            afx Vadim L. Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: