Browse Source
Prior to this commit, ApplicationContextEvent inherited getSource() from java.util.EventObject.getSource() which has an Object return type. This commit introduces a local getSource() implementation in ApplicationContextEvent with an ApplicationContext covariant return type, analogous to TestContextEvent in spring-test. Closes gh-35197pull/34323/merge
1 changed files with 17 additions and 4 deletions
Loading…
Reference in new issue