directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1294) Add size() and hasNext() methods to cursors
Date Thu, 16 May 2013 17:27:16 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1294.
------------------------------------------

    Resolution: Won't Fix

Those two methods are just useless. Bad idea from day one...
                
> Add size() and hasNext() methods to cursors
> -------------------------------------------
>
>                 Key: DIRSERVER-1294
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1294
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>    Affects Versions: 1.5.4
>            Reporter: Emmanuel Lecharny
>            Assignee: Felix Knecht
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>         Attachments: size_has.patch
>
>
> The cursor implementation currently does not have the size() and hasNext() methods. They
would be very helpful in ma,ny places.
> For instance, the paged search control requires that the response control contains the
expected size. The hasNext() method could help to avoid a next() and previous() calls to check
if we have one more entry available in the cursor.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message