Skip to content

Commit 8ec463c

Browse files
committed
Polish "Change Banner declaration with new Java Syntax"
See gh-39585
1 parent 9c57444 commit 8ec463c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public void printBanner(Environment environment, Class<?> sourceClass, PrintStre
5151
while (padding.length() < STRAP_LINE_SIZE - (version.length() + SPRING_BOOT.length())) {
5252
padding.append(" ");
5353
}
54-
5554
printStream.println(AnsiOutput.toString(AnsiColor.GREEN, SPRING_BOOT, AnsiColor.DEFAULT, padding.toString(),
5655
AnsiStyle.FAINT, version));
5756
printStream.println();

src/checkstyle/checkstyle-suppressions.xml

+1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,5 @@
8282
<suppress files="ImportTestcontainersTests\.java" checks="InterfaceIsType" />
8383
<suppress files="MyContainers\.java" checks="InterfaceIsType" />
8484
<suppress files="CertificateMatchingTest\.java" checks="SpringTestFileName" />
85+
<suppress files="SpringBootBanner\.java" checks="SpringLeadingWhitespace" />
8586
</suppressions>

0 commit comments

Comments
 (0)