Fix checkstyle issue

pull/22022/head
Phillip Webb 5 years ago
parent 3f36f6ea47
commit ac197be815

@ -242,9 +242,7 @@ public class Log4J2LoggingSystem extends Slf4JLoggingSystem {
for (Logger logger : getLoggerContext().getLoggers()) {
addLogger(loggers, logger.getName());
}
getLoggerContext().getConfiguration().getLoggers().keySet().forEach((name) -> {
addLogger(loggers, name);
});
getLoggerContext().getConfiguration().getLoggers().keySet().forEach((name) -> addLogger(loggers, name));
return loggers;
}

Loading…
Cancel
Save