Fix accidental banner regression
Fix accidental regression introduced when I tweaked the updated
banner support (commit aaed87d1).
See gh-5636
This commit is contained in:
parent
944a49bd58
commit
1bf10f2926
|
|
@ -536,10 +536,10 @@ public class SpringApplication {
|
|||
}
|
||||
|
||||
private Banner printBanner(ConfigurableEnvironment environment) {
|
||||
if (printBannerViaDeprecatedMethod(environment)) {
|
||||
if (this.bannerMode == Banner.Mode.OFF) {
|
||||
return null;
|
||||
}
|
||||
if (this.bannerMode == Banner.Mode.OFF) {
|
||||
if (printBannerViaDeprecatedMethod(environment)) {
|
||||
return null;
|
||||
}
|
||||
ResourceLoader resourceLoader = this.resourceLoader != null ? this.resourceLoader
|
||||
|
|
|
|||
Loading…
Reference in New Issue