Skip to content

Commit

Permalink
Update QueryTask Javadoc (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives authored Jan 27, 2023
1 parent 78a2467 commit 589296f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions driver/src/main/java/org/neo4j/driver/Driver.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
*/
public interface Driver extends AutoCloseable {
/**
* Creates a new {@link QueryTask} instance that executes an idempotent query in a managed transaction with
* automatic retries on retryable errors.
* Creates a new {@link QueryTask} instance that executes a query in a managed transaction with automatic retries on
* retryable errors.
*
* @param query query string
* @return new query task instance
Expand Down
4 changes: 2 additions & 2 deletions driver/src/main/java/org/neo4j/driver/QueryTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
import org.neo4j.driver.util.Experimental;

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

0 comments on commit 589296f

Please sign in to comment.