Код: Выделить всё
/**
* Simple static factory method to add some syntactic sugar around a {@link Specification}.
*
* @param the type of the {@link Root} the resulting {@literal Specification} operates on.
* @param spec can be {@literal null}.
* @return guaranteed to be not {@literal null}.
* @since 2.0
* @deprecated since 3.5.
*/
@Deprecated(since = "3.5.0", forRemoval = true)
static Specification where(@Nullable Specification spec);
< /code>
Описание этого метода не объясняет, как заменить его другим не устаревшим методом. Есть ли у нас другой метод для создания пустой спецификации без методов остепения? < /P>
final var spec = Specification.where(null);Подробнее здесь: https://stackoverflow.com/questions/796 ... deprecated