Skip to content

Commit

Permalink
Flag PathResourceResolver#resolve*Internal as @nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
cwatzl authored and mdeinum committed Jun 29, 2023
1 parent 1837034 commit e817776
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -133,13 +133,15 @@ public UrlPathHelper getUrlPathHelper() {


@Override
@Nullable
protected Resource resolveResourceInternal(@Nullable HttpServletRequest request, String requestPath,
List<? extends Resource> locations, ResourceResolverChain chain) {

return getResource(requestPath, request, locations);
}

@Override
@Nullable
protected String resolveUrlPathInternal(String resourcePath, List<? extends Resource> locations,
ResourceResolverChain chain) {

Expand Down

0 comments on commit e817776

Please sign in to comment.