sinkPluginId, getPluginProperties(sinkConfig));
if (sink == null) {
throw new IllegalArgumentException(String.format("No Plugin of type '%s' named '%s' was found.",
Constants.Sink.PLUGINTYPE, sinkConfig.getName()));
}
<BUG>List<String> transformIds = Lists.newArrayListWithCapacity(transformConfigs.size());

List<Transformation> transforms = Lists.newArrayListWithCapacity(transformConfigs.size());
</BUG>
for (int i = 0; i < transformConfigs.size(); i++) {

sinkPluginId, getPluginProperties(sinkConfig));
if (sink == null) {
throw new IllegalArgumentException(String.format("No Plugin of type '%s' named '%s' was found.",
Constants.Sink.PLUGINTYPE, sinkConfig.getName()));
}
List<TransformInfo> transformIds = new ArrayList<>(transformConfigs.size());
List<Transformation> transforms = new ArrayList<>(transformConfigs.size());
for (int i = 0; i < transformConfigs.size(); i++) {
