[JAVA-13] Javadoc wrong for com.mongodb.DBCursor Created: 06/Aug/09 Updated: 02/Oct/09 Resolved: 07/Aug/09 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 0.8 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Ryan Nitz | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |