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 ca0ce7d commit d61a7edCopy full SHA for d61a7ed
spring-context/src/main/java/org/springframework/context/support/AbstractApplicationContext.java
@@ -500,9 +500,7 @@ public void addApplicationListener(ApplicationListener<?> listener) {
500
if (this.applicationEventMulticaster != null) {
501
this.applicationEventMulticaster.addApplicationListener(listener);
502
}
503
- else {
504
- this.applicationListeners.add(listener);
505
- }
+ this.applicationListeners.add(listener);
506
507
508
/**
0 commit comments