Use banner location constant

See gh-34868
This commit is contained in:
kdomo
2023-04-05 23:43:01 +09:00
committed by Stephane Nicoll
parent 9fe172e8f3
commit 6728a08219

View File

@@ -128,7 +128,7 @@ class SpringApplicationBannerPrinter {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.resources().registerPattern("banner.txt");
hints.resources().registerPattern(DEFAULT_BANNER_LOCATION);
}
}