From e9ddee19d647f1bb9b38355be310ea591753f0e2 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 2 Mar 2016 15:03:11 +0000 Subject: [PATCH] Refactor console logging --- source/net/filebot/cli/CmdlineOperations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/cli/CmdlineOperations.java b/source/net/filebot/cli/CmdlineOperations.java index c9a2d35d..87a0b7ca 100644 --- a/source/net/filebot/cli/CmdlineOperations.java +++ b/source/net/filebot/cli/CmdlineOperations.java @@ -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;