Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1458

Cursor API generic usage is totally wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.5
    • 2.0.0-M8
    • None
    • None

    Description

      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...

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: