Skip to content

Commit 6728a08

Browse files
kdomosnicoll
authored andcommitted
Use banner location constant
See gh-34868
1 parent 9fe172e commit 6728a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static class SpringApplicationBannerPrinterRuntimeHints implements RuntimeHintsR
128128

129129
@Override
130130
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
131-
hints.resources().registerPattern("banner.txt");
131+
hints.resources().registerPattern(DEFAULT_BANNER_LOCATION);
132132
}
133133

134134
}

0 commit comments

Comments
 (0)