Remove early unnecessary returns in Logger.
Change-Id: Ic8398c538178358769239abdb708dc3248fc8557
diff --git a/user/super/com/google/gwt/emul/java/util/logging/Logger.java b/user/super/com/google/gwt/emul/java/util/logging/Logger.java
index b391248..305508c 100644
--- a/user/super/com/google/gwt/emul/java/util/logging/Logger.java
+++ b/user/super/com/google/gwt/emul/java/util/logging/Logger.java
@@ -224,27 +224,18 @@
}
public void log(Level level, String msg, Throwable thrown) {
- if (LOGGING_FALSE) {
- return;
- }
if (isLoggable(level)) {
actuallyLog(level, msg, thrown);
}
}
public void log(Level level, Throwable thrown, Supplier<String> msgSupplier) {
- if (LOGGING_FALSE) {
- return;
- }
if (isLoggable(level)) {
actuallyLog(level, msgSupplier.get(), thrown);
}
}
public void log(LogRecord record) {
- if (LOGGING_FALSE) {
- return;
- }
if (isLoggable(record.getLevel())) {
actuallyLog(record);
}