Skip to content

Commit

Permalink
style: create break line in update annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <[email protected]>
  • Loading branch information
otaviojava committed Oct 9, 2023
1 parent a30c43c commit 8e7428c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/src/main/java/jakarta/data/Update.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@
* <li>An {@code Iterable} of entities to be updated.</li>
* <li>An array of entities to be updated.</li>
* </ul>
* <p>The return type of the annotated method must be {@code void}, {@code boolean}, a numeric primitive type (such as {@code int}), or a corresponding primitive wrapper type (such as {@link Integer}). A boolean return type indicates whether a matching entity was found in the database to update. A numeric return type indicates how many matching entities were found in the database to update.
* <p>The return type of the annotated method must be {@code void}, {@code boolean}, a numeric primitive type
* (such as {@code int}), or a corresponding primitive wrapper type (such as {@link Integer}).
* A boolean return type indicates whether a matching entity was found in the database to update.
* A numeric return type indicates how many matching entities were found in the database to update.
* </p>
* <p>Updating an entity involves modifying its existing data in the database. The method will search for the entity
* in the database using its ID (and version, if versioned) and then update the corresponding record with the new data. After invoking
Expand Down

0 comments on commit 8e7428c

Please sign in to comment.