Skip to content

Commit f844aaa

Browse files
authored
fix: Fix description of MigrateItemWriterWrite (#797)
1 parent ce9e58d commit f844aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public String getDisplayName() {
4242

4343
@Override
4444
public String getDescription() {
45-
return "`JobBuilderFactory` was deprecated in spring-batch 5.x: replaced by `JobBuilder`.";
45+
return "In `ItemWriter` the signature of the `write()` method has changed in spring-batch 5.x.";
4646
}
4747

4848
private static final MethodMatcher ITEM_WRITER_MATCHER = new MethodMatcher("org.springframework.batch.item.ItemWriter write(java.util.List)", true);

0 commit comments

Comments
 (0)