[BAEL-3646] Addressing broken PR

This commit is contained in:
mike b 2020-03-24 19:57:00 -04:00
parent 51ad7ac413
commit a7cb075f7d
1 changed files with 1 additions and 5 deletions

View File

@ -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());
}