Add missing break statements

bzip2
Graham 5 years ago
parent a7c1ae3597
commit cf8939a540
  1. 8
      decompiler/src/main/java/dev/openrs2/decompiler/Slf4jFernflowerLogger.java

@ -23,12 +23,16 @@ public final class Slf4jFernflowerLogger extends IFernflowerLogger {
switch (severity) { switch (severity) {
case TRACE: case TRACE:
logger.trace(message); logger.trace(message);
break;
case INFO: case INFO:
logger.info(message); logger.info(message);
break;
case WARN: case WARN:
logger.warn(message); logger.warn(message);
break;
case ERROR: case ERROR:
logger.error(message); logger.error(message);
break;
default: default:
throw new IllegalArgumentException(); throw new IllegalArgumentException();
} }
@ -39,12 +43,16 @@ public final class Slf4jFernflowerLogger extends IFernflowerLogger {
switch (severity) { switch (severity) {
case TRACE: case TRACE:
logger.trace(message, t); logger.trace(message, t);
break;
case INFO: case INFO:
logger.info(message, t); logger.info(message, t);
break;
case WARN: case WARN:
logger.warn(message, t); logger.warn(message, t);
break;
case ERROR: case ERROR:
logger.error(message, t); logger.error(message, t);
break;
default: default:
throw new IllegalArgumentException(); throw new IllegalArgumentException();
} }

Loading…
Cancel
Save