From 111a1140fb972a6597da9f0298d04eda659a6bd1 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 21 Mar 2023 11:45:41 +0100 Subject: [PATCH] Polishing. Add since tag. See #2796 --- .../data/jpa/repository/JpaSpecificationExecutor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java index 7f59d83bb..8835cf1d6 100644 --- a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java +++ b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java @@ -91,7 +91,8 @@ public interface JpaSpecificationExecutor { * 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 spec);