Refactor console logging

This commit is contained in:
Reinhard Pointner 2016-03-02 15:03:11 +00:00
parent 567b50da21
commit e9ddee19d6
1 changed files with 1 additions and 1 deletions

View File

@ -1003,7 +1003,7 @@ public class CmdlineOperations implements CmdlineInterface {
log.info(format("%s %s", current, file));
if (current.compareToIgnoreCase(it.getValue()) != 0) {
throw new IOException(format("Corrupted file found: %s [hash mismatch: %s vs %s]", it.getKey(), current, it.getValue()));
throw new IOException(String.format("Corrupted file found: %s [hash mismatch: %s vs %s]", it.getKey(), current, it.getValue()));
}
} catch (IOException e) {
status = false;