jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r171075 - /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java
Date Fri, 20 May 2005 07:57:38 GMT
Author: mreutegg
Date: Fri May 20 00:57:37 2005
New Revision: 171075

URL: http://svn.apache.org/viewcvs?rev=171075&view=rev
Log:
Minor fix: NodeIteratorImpl.nextNodeImpl() throws ArrayIndexOutOfBoundsException in case of
RepositoryException

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java?rev=171075&r1=171074&r2=171075&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/NodeIteratorImpl.java
Fri May 20 00:57:37 2005
@@ -160,7 +160,7 @@
             return (NodeImpl) itemMgr.getItem(new NodeId(uuids[pos++]));
         } catch (RepositoryException e) {
             log.error("Exception retrieving Node with UUID: "
-                    + uuids[pos] + ": " + e.toString());
+                    + uuids[pos - 1] + ": " + e.toString());
             throw new NoSuchElementException();
         }
     }



Mime
View raw message