Polishing

This commit is contained in:
Sam Brannen
2023-11-19 14:28:19 +01:00
parent 69049a4b0f
commit 7006d0a80e
3 changed files with 6 additions and 5 deletions

View File

@@ -151,7 +151,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
* is under one of the {@link #setAllowedLocations allowed locations}.
* @param resource the resource to check
* @param location the location relative to which the resource was found
* @return "true" if resource is in a valid location, "false" otherwise.
* @return "true" if resource is in a valid location, "false" otherwise
*/
protected boolean checkResource(Resource resource, Resource location) throws IOException {
if (isResourceUnderLocation(resource, location)) {