diff: do not log stacktrace when comparing file with itself

This commit is contained in:
Aleksey Pivovarov
2017-10-11 14:06:47 +03:00
parent 4345c5aab6
commit 9f22ef5018
@@ -135,7 +135,7 @@ public class TextDiffViewerUtil {
for (DiffContent content : contents) {
message.append(content.toString()).append("\n");
}
LOG.warn(new Throwable(message.toString()));
LOG.warn(message.toString());
}
}