We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b311791 commit dcf4991Copy full SHA for dcf4991
spring-data-jpa/src/main/java/org/springframework/data/jpa/domain/Specification.java
@@ -65,7 +65,9 @@ static <T> Specification<T> not(@Nullable Specification<T> spec) {
65
* @param spec can be {@literal null}.
66
* @return guaranteed to be not {@literal null}.
67
* @since 2.0
68
+ * @deprecated since 3.5.
69
*/
70
+ @Deprecated(since = "3.5.0", forRemoval = true)
71
static <T> Specification<T> where(@Nullable Specification<T> spec) {
72
return spec == null ? (root, query, builder) -> null : spec;
73
}
0 commit comments