From e9f1079fba694f62e1523be03b349dd0b978bc80 Mon Sep 17 00:00:00 2001 From: Sam Snyder Date: Wed, 15 Feb 2023 11:42:30 -0800 Subject: [PATCH] Fix name of spring batch migration recipe --- src/main/resources/META-INF/rewrite/spring-batch-5.0.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml index b9099c4ef..bcdb905c9 100644 --- a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml +++ b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml @@ -17,7 +17,7 @@ type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBatch4To5Migration -displayName: Migrate to Spring Batch 4.3 from Spring Batch 5.0 +displayName: Migrate to Spring Batch 5.0 from 4.3 description: Migrate applications built on Spring Batch 4.3 to the latest Spring Batch 5.0 release. tags: - spring @@ -60,7 +60,7 @@ displayName: Transform classes that extend `StepExecutionListenerSupport` to imp description: As of 5.0 `StepExecutionListener` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter. recipeList: - org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface: - fullyQualifiedClassName: org.springframework.batch.core.listener.StepExecutionListenerSupport + fullyQualifiedClassName: org.springframework.batch.core.listener.StepExecutionListenerSupport fullyQualifiedInterfaceName: org.springframework.batch.core.StepExecutionListener --- type: specs.openrewrite.org/v1beta/recipe @@ -69,7 +69,7 @@ displayName: Transform classes that extend `ChunkListenerSupport` to implement t description: As of 5.0 `ChunkListener` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter. recipeList: - org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface: - fullyQualifiedClassName: org.springframework.batch.core.listener.ChunkListenerSupport + fullyQualifiedClassName: org.springframework.batch.core.listener.ChunkListenerSupport fullyQualifiedInterfaceName: org.springframework.batch.core.ChunkListener --- type: specs.openrewrite.org/v1beta/recipe