Javadoc wrong for com.mongodb.DBCursor

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 0.8
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Chodorow (Inactive)
              Reporter:
              Ryan Nitz
              None
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: