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] Created: (DIRSHARED-58) Interface org.apache.directory.shared.ldap.cursor.Cursor isn't complete
Date Sun, 16 May 2010 17:37:42 GMT
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