Skip to content

Commit 6728a08

Browse files
kdomosnicoll
authored andcommittedApr 11, 2023
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

+1-1
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)
Please sign in to comment.