From 30cee9957809bc75cf0018859ca916e3740ab79f Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Wed, 12 Oct 2022 18:53:52 +0200 Subject: [PATCH] Remove unused constructor in SkipWrapper This constructor does not make sense as it does not accept the skipped item. --- .../java/org/springframework/batch/item/SkipWrapper.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/SkipWrapper.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/SkipWrapper.java index 41b5dd977..e997d38b3 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/SkipWrapper.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/SkipWrapper.java @@ -38,13 +38,6 @@ public class SkipWrapper { this(item, null); } - /** - * @param e instance of {@link Throwable} that being wrapped. - */ - public SkipWrapper(Throwable e) { - this(null, e); - } - public SkipWrapper(T item, @Nullable Throwable e) { this.item = item; this.exception = e;