if (outSet == null) {
outSet = collection
.getConfig().getExecutionEnvironment()
.fromElements(new ArrayList<String>());
}
<BUG>DataSet<String> captionSet =

collection</BUG>
.getConfig().getExecutionEnvironment()
.fromElements("\n*** " + caption + " ***\n");

if (outSet == null) {
outSet = collection
.getConfig().getExecutionEnvironment()
.fromElements(new ArrayList<String>());
}
DataSet<String> captionSet = collection
.getConfig().getExecutionEnvironment()
.fromElements("\n*** " + caption + " ***\n");
