Skip to content

Commit 73537fb

Browse files
author
Achim Brandt
committed
fixed issue #34 (little error in doc)
1 parent 74c5453 commit 73537fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ E.g. get all Simpsons aged 3 or older in ascending order:
242242
DocumentCursor<MyObject> documentCursor = arangoDriver.executeDocumentQuery(
243243
query, bindVars, driver.getDefaultAqlQueryOptions(), MyObject.class);
244244

245-
while (DocumentEntity<MyObject> documentEntity : documentCursor.asList()) {
245+
for (DocumentEntity<MyObject> documentEntity : documentCursor.asList()) {
246246
MyObject obj = documentEntity.getEntity();
247247
System.out.println(obj.getName());
248248
}

0 commit comments

Comments
 (0)