directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSHARED-58) Interface org.apache.directory.shared.ldap.cursor.Cursor isn't complete
Date Sun, 16 May 2010 20:08:42 GMT

     [ 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.


Mime
View raw message