From 34bf7a3f99202d356e886f1132663f8e322c14e1 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Wed, 30 Oct 2024 11:31:58 -0400 Subject: [PATCH] Remove Deprecated method from TaskDefinitionRepository Add deprecation removals from whats-new.doc --- .../dataflow/server/repository/TaskDefinitionRepository.java | 3 --- whats-new.adoc | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/TaskDefinitionRepository.java b/spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/TaskDefinitionRepository.java index 9e56b8664f..b7db0b31cf 100644 --- a/spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/TaskDefinitionRepository.java +++ b/spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/TaskDefinitionRepository.java @@ -36,9 +36,6 @@ public interface TaskDefinitionRepository extends KeyValueRepository findByDslTextContains(String dslText, Pageable pageable); - @Deprecated - Page findByTaskNameContainsAndDslTextContains(String taskName, String dslText, Pageable pageable); - /** * Performs a findByName query and throws an exception if the name is not found. * @param name the name of the task definition diff --git a/whats-new.adoc b/whats-new.adoc index fe813d070f..0793877f12 100644 --- a/whats-new.adoc +++ b/whats-new.adoc @@ -36,7 +36,7 @@ VersionInfoProperties versionInfoProperties, SecurityStateBean securityStateBean ** stopAll ** getStepNamesForJob * The following deprecated `Converters` have been removed from SCDF: `AbstractDateTimeConverter`, `DateToStringConverter`, and `StringToDateConverter`. Use the converters provided by Spring Batch. - +* `findByTaskNameContainsAndDslTextContains` deprecated method has been removed from `TaskDefinitionRepository`. === Breaking Changes Announce deprecated changes here