Commit 1bf10f29 authored by Phillip Webb's avatar Phillip Webb

Fix accidental banner regression

Fix accidental regression introduced when I tweaked the updated
banner support (commit aaed87d1).

See gh-5636
parent 944a49bd
...@@ -536,10 +536,10 @@ public class SpringApplication { ...@@ -536,10 +536,10 @@ public class SpringApplication {
} }
private Banner printBanner(ConfigurableEnvironment environment) { private Banner printBanner(ConfigurableEnvironment environment) {
if (printBannerViaDeprecatedMethod(environment)) { if (this.bannerMode == Banner.Mode.OFF) {
return null; return null;
} }
if (this.bannerMode == Banner.Mode.OFF) { if (printBannerViaDeprecatedMethod(environment)) {
return null; return null;
} }
ResourceLoader resourceLoader = this.resourceLoader != null ? this.resourceLoader ResourceLoader resourceLoader = this.resourceLoader != null ? this.resourceLoader
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment