You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by ji...@apache.org on 2004/10/21 20:46:14 UTC

[jira] Closed: (JCR-6) VersionIteratorImpl problem?

Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JCR-6

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JCR-6
    Summary: VersionIteratorImpl problem?
       Type: Bug

     Status: Closed
   Priority: Trivial
 Resolution: FIXED

    Project: Jackrabbit
 Components: 
             API

   Assignee: Tobias Strasser
   Reporter: Vadim L. Ivanov

    Created: Wed, 6 Oct 2004 6:51 PM
    Updated: Thu, 21 Oct 2004 11:45 AM
Environment: 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>();





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira