On 14.11.12 10:04, [email protected] 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
