Skip to content

Commit 66190ef

Browse files
committed
Fix formatting
1 parent 0d12156 commit 66190ef

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,8 @@ private Banner printBanner(ConfigurableEnvironment environment) {
563563
ResourceLoader resourceLoader = (this.resourceLoader != null) ? this.resourceLoader
564564
: new DefaultResourceLoader(null);
565565

566-
SpringApplicationBannerPrinter bannerPrinter = Objects.requireNonNullElseGet(this.bannerPrinter, () -> new DefaultSpringApplicationBannerPrinter(resourceLoader, this.banner));
566+
SpringApplicationBannerPrinter bannerPrinter = Objects.requireNonNullElseGet(this.bannerPrinter,
567+
() -> new DefaultSpringApplicationBannerPrinter(resourceLoader, this.banner));
567568
return bannerPrinter.print(environment, this.mainApplicationClass, this.properties.getBannerMode(environment));
568569
}
569570

@@ -1038,9 +1039,8 @@ public void setBannerMode(Banner.Mode bannerMode) {
10381039
}
10391040

10401041
/**
1041-
* Sets the {@link SpringApplicationBannerPrinter} used to print the banner. Defaults to
1042-
* {@link SpringApplicationBannerPrinter}.
1043-
*
1042+
* Sets the {@link SpringApplicationBannerPrinter} used to print the banner. Defaults
1043+
* to {@link SpringApplicationBannerPrinter}.
10441044
* @param bannerPrinter the printer used to print the banner
10451045
*/
10461046
public void setBannerPrinter(SpringApplicationBannerPrinter bannerPrinter) {

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/SpringApplicationBannerPrinterTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public Banner print(Environment environment, Class<?> sourceClass, Mode bannerMo
8989
banner.printBanner(environment, sourceClass, System.out);
9090
return banner;
9191
}
92+
9293
}
9394

9495
static class DummyBanner implements Banner {

0 commit comments

Comments
 (0)