Make the logger static final

See gh-18575
This commit is contained in:
王洋
2019-10-14 19:31:34 +08:00
committed by Andy Wilkinson
parent e05c48986b
commit 152568521e

View File

@@ -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) {