Remove unused constructor in SkipWrapper

This constructor does not make sense as it
does not accept the skipped item.
This commit is contained in:
Mahmoud Ben Hassine
2022-10-12 18:53:52 +02:00
parent 87e69f3e87
commit 30cee99578

View File

@@ -38,13 +38,6 @@ public class SkipWrapper<T> {
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;