Skip to content

Commit c1c014a

Browse files
committed
Polishing.
Add since tag. See #2796
1 parent a66f675 commit c1c014a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public interface JpaSpecificationExecutor<T> {
8080

8181
/**
8282
* Checks whether the data store contains elements that match the given {@link Specification}.
83-
*
83+
*
8484
* @param spec the {@link Specification} to use for the existence check. Must not be {@literal null}.
8585
* @return <code>true</code> if the data store contains elements that match the given {@link Specification} otherwise
8686
* <code>false</code>.
@@ -91,7 +91,8 @@ public interface JpaSpecificationExecutor<T> {
9191
* Deletes by the {@link Specification} and returns the number of rows deleted.
9292
*
9393
* @param spec the {@link Specification} to use for the existence check. Must not be {@literal null}.
94-
* @return the number of entities deleted
94+
* @return the number of entities deleted.
95+
* @since 3.0
9596
*/
9697
long delete(Specification<T> spec);
9798

0 commit comments

Comments
 (0)