From cf8939a540cee53331abb1f304ea1171f5a37847 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 29 Sep 2019 19:59:32 +0100 Subject: [PATCH] Add missing break statements --- .../dev/openrs2/decompiler/Slf4jFernflowerLogger.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/decompiler/src/main/java/dev/openrs2/decompiler/Slf4jFernflowerLogger.java b/decompiler/src/main/java/dev/openrs2/decompiler/Slf4jFernflowerLogger.java index aa50cb65..4bbcba52 100644 --- a/decompiler/src/main/java/dev/openrs2/decompiler/Slf4jFernflowerLogger.java +++ b/decompiler/src/main/java/dev/openrs2/decompiler/Slf4jFernflowerLogger.java @@ -23,12 +23,16 @@ public final class Slf4jFernflowerLogger extends IFernflowerLogger { switch (severity) { case TRACE: logger.trace(message); + break; case INFO: logger.info(message); + break; case WARN: logger.warn(message); + break; case ERROR: logger.error(message); + break; default: throw new IllegalArgumentException(); } @@ -39,12 +43,16 @@ public final class Slf4jFernflowerLogger extends IFernflowerLogger { switch (severity) { case TRACE: logger.trace(message, t); + break; case INFO: logger.info(message, t); + break; case WARN: logger.warn(message, t); + break; case ERROR: logger.error(message, t); + break; default: throw new IllegalArgumentException(); }