Update Javadoc for ResourceHints.registerResourceIfNecessary()
See gh-29094
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user