mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add newline before the Spring banner
See gh-40889
This commit is contained in:
parent
c479c56836
commit
fad0f0a83d
@ -45,6 +45,7 @@ class SpringBootBanner implements Banner {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void printBanner(Environment environment, Class<?> sourceClass, PrintStream printStream) {
|
public void printBanner(Environment environment, Class<?> sourceClass, PrintStream printStream) {
|
||||||
|
printStream.println();
|
||||||
printStream.println(BANNER);
|
printStream.println(BANNER);
|
||||||
String version = String.format(" (v%s)", SpringBootVersion.getVersion());
|
String version = String.format(" (v%s)", SpringBootVersion.getVersion());
|
||||||
StringBuilder padding = new StringBuilder();
|
StringBuilder padding = new StringBuilder();
|
||||||
|
Loading…
Reference in New Issue
Block a user