Permalink
Browse files

Fix javadoc of DBCursor#curr()

  • Loading branch information...
1 parent e4ed5c1 commit 6efb3d1b56b86d919055e59cb4dc3f78a9a5be5a @amigrave committed Jan 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/com/mongodb/DBCursor.java
@@ -496,7 +496,7 @@ public DBObject next() {
/**
* Returns the element the cursor is at.
- * @return the next element
+ * @return the current element
*/
public DBObject curr(){
_checkType( CursorType.ITERATOR );

0 comments on commit 6efb3d1

Please sign in to comment.