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.