Skip to content

Commit

Permalink
Make the logger static final
Browse files Browse the repository at this point in the history
  • Loading branch information
王洋 authored and wilkinsona committed Oct 14, 2019
1 parent e05c489 commit 1525685
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void failed(ConfigurableApplicationContext context, Throwable exception)

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) {
Expand Down

0 comments on commit 1525685

Please sign in to comment.