This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git


The following commit(s) were added to refs/heads/master by this push:
     new fd930a760 cleanup
fd930a760 is described below

commit fd930a7600bd6d5326333e2e2de84c456b0d8025
Author: Andrus Adamchik <[email protected]>
AuthorDate: Fri Jul 3 17:10:00 2026 -0400

    cleanup
---
 cayenne/src/main/java/org/apache/cayenne/ResultIterator.java | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/cayenne/src/main/java/org/apache/cayenne/ResultIterator.java 
b/cayenne/src/main/java/org/apache/cayenne/ResultIterator.java
index f67010e14..6de35d965 100644
--- a/cayenne/src/main/java/org/apache/cayenne/ResultIterator.java
+++ b/cayenne/src/main/java/org/apache/cayenne/ResultIterator.java
@@ -22,12 +22,9 @@ package org.apache.cayenne;
 import java.util.List;
 
 /**
- * Defines API of an iterator over the records returned as a result of
- * Select queries execution. Usually a ResultIterator is supported by an open
- * java.sql.ResultSet, therefore ResultIterators must be explicitly closed when
- * the user is done working with them. An alternative to that is
- * {@link ObjectContext#iterate(org.apache.cayenne.query.Select, 
ResultIteratorCallback)}
- * method that handles resource management.
+ * Defines API of an iterator over the records returned as a result of 
selecting queries execution. A ResultIterator is
+ * backed by an open java.sql.ResultSet, therefore ResultIterators must be 
explicitly closed when the user is done
+ * working with them.
  *
  * @since 3.0
  */

Reply via email to