• Andy Wilkinson's avatar
    Deprecate refresh(ApplicationContext) and add refresh(ConfigurableAC) · 66d4319a
    Andy Wilkinson authored
    refresh can only ever be called with a ConfigurableApplicationContext
    and we want to evolve the refresh API to reflect that. This commit
    takes the first step by overloading refresh(ApplicationContext) with
    a new refresh(ConfigurationApplicationContext) method and deprecating
    refresh(ApplicationContext). Where the call to refresh is made, the
    argument is cast to ApplicationContext to ensure that
    refresh(ApplicationContext) is called. This ensures that any existing
    override of the method is still effective.
    
    Closes gh-18519
    66d4319a
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...