Skip to content

Commit 589296f

Browse files
authored
Update QueryTask Javadoc (#1369)
1 parent 78a2467 commit 589296f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

driver/src/main/java/org/neo4j/driver/Driver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
*/
6565
public interface Driver extends AutoCloseable {
6666
/**
67-
* Creates a new {@link QueryTask} instance that executes an idempotent query in a managed transaction with
68-
* automatic retries on retryable errors.
67+
* Creates a new {@link QueryTask} instance that executes a query in a managed transaction with automatic retries on
68+
* retryable errors.
6969
*
7070
* @param query query string
7171
* @return new query task instance

driver/src/main/java/org/neo4j/driver/QueryTask.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
import org.neo4j.driver.util.Experimental;
3030

3131
/**
32-
* A task that executes an idempotent query in a managed transaction with automatic retries on retryable errors.
32+
* A task that executes a query in a managed transaction with automatic retries on retryable errors.
3333
* <p>
34-
* This is a high-level API for executing an idempotent query. There are more advanced APIs available.
34+
* This is a high-level API for executing a query. There are more advanced APIs available.
3535
* For instance, {@link Session}, {@link Transaction} and transaction functions that are accessible via
3636
* methods like {@link Session#executeWrite(TransactionCallback)}, {@link Session#executeWriteWithoutResult(Consumer)}
3737
* and {@link Session#executeRead(TransactionCallback)} (there are also overloaded options available).

0 commit comments

Comments
 (0)