You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Felix Knecht (JIRA)" <ji...@apache.org> on 2010/05/16 22:08:42 UTC

[jira] Resolved: (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 ]

Felix Knecht resolved DIRSHARED-58.
-----------------------------------

    Resolution: Fixed

Missing methods added to Cursor

> 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: 0.9.20
>
>
> 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.