You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/12/13 12:56:06 UTC

[jira] Updated: (DIRSHARED-58) Interface org.apache.directory.shared.ldap.cursor.Cursor isn't complete

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

Emmanuel Lecharny updated DIRSHARED-58:
---------------------------------------

    Fix Version/s:     (was: 0.9.20)
                   1.0.0-RC1

> Interface org.apache.directory.shared.ldap.cursor.Cursor isn't complete
> -----------------------------------------------------------------------
>
>                 Key: DIRSHARED-58
>                 URL: https://issues.apache.org/jira/browse/DIRSHARED-58
>             Project: Directory Shared
>          Issue Type: Bug
>    Affects Versions: 0.9.19
>         Environment: All
>            Reporter: Felix Knecht
>            Assignee: Felix Knecht
>             Fix For: 1.0.0-RC1
>
>
> Multiple methods used in ListCursor, SingletonCursor are not declared in the interface. Following methods should be declared in the interface
> - isAfterLast
> - isBeforeFirst
> - isFirst
> - isLast
> From Cursor.java:
> "Although this interface presumes Cursors can advance bidirectionally, implementations may restrict this by throwing  UnsupportedOperationExceptions."
> So throw an exception if not implemented

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