mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
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-35197