Polishing.

Add since tag.

See #2796
This commit is contained in:
Mark Paluch
2023-03-21 11:45:41 +01:00
parent a66f67506a
commit c1c014a374

View File

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