We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f3347 commit c8c0737Copy full SHA for c8c0737
spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java
@@ -498,9 +498,7 @@ public void addApplicationListener(ApplicationListener<?> listener) {
498
if (this.applicationEventMulticaster != null) {
499
this.applicationEventMulticaster.addApplicationListener(listener);
500
}
501
- else {
502
- this.applicationListeners.add(listener);
503
- }
+ this.applicationListeners.add(listener);
504
505
506
/**
0 commit comments