if (!mappingFile.exists()) {
mappingFile = new File(this.inputDir.getAbsolutePath() + File.separator + FSUtil.LEGACY_MAP_FILENAME);
if (mappingFile.exists()) {
LOG.info("Directory '" + this.inputDir + "' contains no file '" + FSUtil.MAP_FILENAME + "'. Found '" + FSUtil.LEGACY_MAP_FILENAME
+ "' ... switching to legacy mode");
<BUG>} else {
LOG.warn("No mapping file in directory '" + this.inputDir.getAbsolutePath() + "'");
return;</BUG>
}
}

if (!mappingFile.exists()) {
mappingFile = new File(this.inputDir.getAbsolutePath() + File.separator + FSUtil.LEGACY_MAP_FILENAME);
if (mappingFile.exists()) {
LOG.info("Directory '" + this.inputDir + "' contains no file '" + FSUtil.MAP_FILENAME + "'. Found '" + FSUtil.LEGACY_MAP_FILENAME
+ "' ... switching to legacy mode");
} else {
if (LOG.isWarnEnabled()) {
LOG.warn("No mapping file in directory '" + this.inputDir.getAbsolutePath() + "'");
}
return;
}
}
