Skip to content

Commit

Permalink
Merge pull request #34868 from kdomo
Browse files Browse the repository at this point in the history
* pr/34868:
  Update copyright header of changed file
  Use banner location constant

Closes gh-34868
  • Loading branch information
snicoll committed Apr 11, 2023
2 parents 9fe172e + 7ee5581 commit 308e527
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2022 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -128,7 +128,7 @@ static class SpringApplicationBannerPrinterRuntimeHints implements RuntimeHintsR

@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.resources().registerPattern("banner.txt");
hints.resources().registerPattern(DEFAULT_BANNER_LOCATION);
}

}
Expand Down

0 comments on commit 308e527

Please sign in to comment.