Merge pull request #18575 from wycm

* gh-18575:
  Make the logger static final

Closes gh-18575
pull/18578/head
Andy Wilkinson 5 years ago
commit bc6de8d572

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

Loading…
Cancel
Save