Merge pull request #34868 from kdomo

* pr/34868:
  Update copyright header of changed file
  Use banner location constant

Closes gh-34868
pull/35377/head
Stephane Nicoll 2 years ago
commit 308e52702d

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -128,7 +128,7 @@ class SpringApplicationBannerPrinter {
@Override @Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) { public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
hints.resources().registerPattern("banner.txt"); hints.resources().registerPattern(DEFAULT_BANNER_LOCATION);
} }
} }

Loading…
Cancel
Save