Files
spring-boot/spring-boot
Andy Wilkinson 5810ae28d5 Ensure that WebApplicationType.NONE results in a non-web environment
Following the changes made in a7f148091e the environment was being
bound to the SpringApplication instance after it had, if necessary
being converted to a standard, i.e non-web environment. This meant
that if a property in the environment set the web application type
to NONE it would have no effect on the type of environment used by
the application.

This commit reorders the binding of the environment to the
Spring Application instance so that it happens before the environment
is potentially converted.

Closes gh-9161
2017-05-11 15:57:53 +01:00
..