Skip to content

Commit bc6de8d

Browse files
committed
Merge pull request #18575 from wycm
* gh-18575: Make the logger static final Closes gh-18575
2 parents e05c489 + 1525685 commit bc6de8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void failed(ConfigurableApplicationContext context, Throwable exception)
127127

128128
private static class LoggingErrorHandler implements ErrorHandler {
129129

130-
private static Log logger = LogFactory.getLog(EventPublishingRunListener.class);
130+
private static final Log logger = LogFactory.getLog(EventPublishingRunListener.class);
131131

132132
@Override
133133
public void handleError(Throwable throwable) {

0 commit comments

Comments
 (0)