Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix javadoc of DBCursor#curr()

  • Loading branch information...
commit 6efb3d1b56b86d919055e59cb4dc3f78a9a5be5a 1 parent e4ed5c1
Fabien Meghazi amigrave authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/com/mongodb/DBCursor.java
2  src/main/com/mongodb/DBCursor.java
View
@@ -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 );
Please sign in to comment.
Something went wrong with that request. Please try again.