jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Resolved: (JCR-6) VersionIteratorImpl problem?
Date Thu, 07 Oct 2004 08:41:52 GMT
Message:

   The following issue has been resolved as FIXED.

   Resolver: Tobias Strasser
       Date: Thu, 7 Oct 2004 1:41 AM

fixed as suggested.
---------------------------------------------------------------------
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: Resolved
   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, 7 Oct 2004 1:41 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