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/07 03:52:51 UTC

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

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Trivial

    Project: Jackrabbit
 Components: 
             API

   Assignee: 
   Reporter: Vadim L. Ivanov

    Created: Wed, 6 Oct 2004 6:51 PM
    Updated: Wed, 6 Oct 2004 6:51 PM
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


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

Posted by ji...@apache.org.
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


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

Posted by ji...@apache.org.
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