directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-1458) Cursor API generic usage is totally wrong
Date Fri, 26 Aug 2011 16:26:34 GMT

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

Pierre-Arnaud Marcelot updated DIRSERVER-1458:
----------------------------------------------

    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0-M3

> Cursor API generic usage is totally wrong
> -----------------------------------------
>
>                 Key: DIRSERVER-1458
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1458
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0-M3
>
>
> There are some generic erasure in the cursor API. 
> In the internal layers, we may manipulate <Long, Long>, or <Long, String>,
or <Long, byte[]>, or <Long, ServerEntry>, but from the external API POV, it's
all <Long, ServerEntry>.
> I don't know how possibly it's working, I think we are lucky or that we don't cast with
generics...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message