Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 21055 invoked from network); 21 Oct 2004 18:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Oct 2004 18:44:14 -0000 Received: (qmail 6938 invoked by uid 500); 21 Oct 2004 18:44:13 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 6924 invoked by uid 99); 21 Oct 2004 18:44:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 21 Oct 2004 11:44:12 -0700 Received: (qmail 24023 invoked from network); 21 Oct 2004 18:46:14 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 21 Oct 2004 18:46:14 -0000 Message-ID: <1291879581.1098384374532.JavaMail.apache@nagoya> Date: Thu, 21 Oct 2004 11:46:14 -0700 (PDT) From: jira@apache.org To: jackrabbit-dev@incubator.apache.org Subject: [jira] Closed: (JCR-6) VersionIteratorImpl problem? In-Reply-To: <303433763.1097113971286.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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.peek(); ...... } I change to InternalVersion ret = (InternalVersion) successors.pop(); --------------------------------------------------------------------- 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