Update Javadoc for ResourceHints.registerResourceIfNecessary()

See gh-29094
This commit is contained in:
Sam Brannen 2022-09-06 20:18:24 +02:00
parent d57e061d3f
commit 018122f684
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ public class ResourceHints {
* availability accordingly.
* @param resource the resource to register
* @see #registerPattern(String)
* @see ClassPathResource#getAbsolutePath()
*/
public void registerResourceIfNecessary(Resource resource) {
if (resource instanceof ClassPathResource classPathResource && classPathResource.exists()) {