directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-1382) Change the Cursor semantic for the next() and previous() methods
Date Wed, 26 May 2010 12:27:10 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-1382:
-----------------------------------------

    Fix Version/s: 2.0.0-RC1
                       (was: 2.0.0)

Moved back to 2.0.0-RC1

> Change the Cursor semantic for the next() and previous() methods
> ----------------------------------------------------------------
>
>                 Key: DIRSERVER-1382
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1382
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-RC1
>
>
> The next() and previous() method semantic is not what we should expect for a cursor.
They should return an Objectt and not a status. That would help to get closer to the well
known semantic of an iterator (even though the previous() method is not present in an Iterator).
> In other words, it should be possible to do a next() to get the object *and* get the
cursor moved one step further, instead of doing a next() and get().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message