You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/07/15 14:44:50 UTC

[jira] Resolved: (DIRSERVER-1526) Cursor.available() method semantic is inconsistant

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

Emmanuel Lecharny resolved DIRSERVER-1526.
------------------------------------------

    Resolution: Invalid

It's not inconsistant. It's just that we have no idea if the filter will be fetched forward or backward...

> Cursor.available() method semantic is inconsistant
> --------------------------------------------------
>
>                 Key: DIRSERVER-1526
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1526
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.7
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-RC1
>
>
> The available() method is supposed to tell if the cursor.get() method will succeed or not. This is not what it does for all the implemented classes. Sometime it just returns false if no previous fetch has been done.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.