• Dave Syer's avatar
    Reverse order of active profiles before processing · 3a6d4efe
    Dave Syer authored
    This change harmonizes the profile ordering between spring.profiles.active
    (where last one already wins) and SpringApplication.setAdditionalProfiles()
    (where the first one has been winning in 1.0.x). Last one wins is the
    correct strategy since it mimics a map merge, and also matches the behaviour
    of file ordering already defined in spring.config.location and
    spring.config.name.
    
    Fixes gh-645
    3a6d4efe
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...