[BAEL-3646] Addressing broken PR
This commit is contained in:
parent
51ad7ac413
commit
a7cb075f7d
|
@ -12,12 +12,8 @@ public class PrependingStdoutWriter<T> implements ItemWriter<T> {
|
|||
this.prependText = prependText;
|
||||
}
|
||||
|
||||
public PrependingStdoutWriter(String prependText) {
|
||||
this(prependText, System.out);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void write(List<? extends T> list) throws Exception {
|
||||
public void write(List<? extends T> list) {
|
||||
for (T listItem : list) {
|
||||
System.out.println(prependText + " " + listItem.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue