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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user