if (stepType.isFirst()) {
if (logger.isDebugEnabled()) {
// dump the input to the first step for debugging
logger.debug("Input to migrator");
CachingInputStream is = new CachingInputStream(input);
dumpStream(is);
input = is.getCacheInputStream();
}
} else {
// disable input validation on all steps except the first
inputReaderFactory.disableValidation();
}