Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-13

Javadoc wrong for com.mongodb.DBCursor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.8
    • None
    • None
    • None

    Description

      The Javadoc comment at the top of the class states:

      DBObject obj[] = collection.find( query ).skip( 1000 ).limit( 100 ).toArray();

      In reality, when you call toArray() it returns a java.util.List object.

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: