jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: svn commit: r1409134 - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/old/ oak-core/src/main/java/org/apache/jackrabbit/oak/query/ast/ oak-core/src/main/java/org/apache/jackrabbit/oak/spi/query/ oak-core/src/te...
Date Wed, 14 Nov 2012 10:43:52 GMT


On 14.11.12 10:04, thomasm@apache.org wrote:
> Author: thomasm
> Date: Wed Nov 14 10:04:55 2012
> New Revision: 1409134
>
> URL:http://svn.apache.org/viewvc?rev=1409134&view=rev
> Log:
> OAK-423 Query: org.apache.jackrabbit.oak.spi.query.Cursor.currentRow called too late
- refactor the Cursor interface to better match the Iterator interface

Couldn't Cursor extends Iterator<IndexRow> and make it an abstract class 
providing an implementation for remove() which just throws? After all a 
cursor really is an iterator now.

Michael

Mime
View raw message