Browse Source

Merge pull request #18575 from wycm

* gh-18575:
  Make the logger static final

Closes gh-18575
pull/18578/head
Andy Wilkinson 6 years ago
parent
commit
bc6de8d572
  1. 2
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java

2
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/event/EventPublishingRunListener.java

@ -127,7 +127,7 @@ public class EventPublishingRunListener implements SpringApplicationRunListener, @@ -127,7 +127,7 @@ public class EventPublishingRunListener implements SpringApplicationRunListener,
private static class LoggingErrorHandler implements ErrorHandler {
private static Log logger = LogFactory.getLog(EventPublishingRunListener.class);
private static final Log logger = LogFactory.getLog(EventPublishingRunListener.class);
@Override
public void handleError(Throwable throwable) {

Loading…
Cancel
Save