jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (JCR-6) VersionIteratorImpl problem?
Date Thu, 21 Oct 2004 18:46:14 GMT
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


Mime
View raw message