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

Javadoc wrong for com.mongodb.DBCursor

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.8
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: