Skip to content

Commit b6a121e

Browse files
committed
Merge branch '6.2.x'
2 parents ef24958 + 99890b6 commit b6a121e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ protected boolean isInvalidPath(String path) {
671671
* Called for GET requests as well as HEAD requests.
672672
* @param response current servlet response
673673
* @param resource the identified resource (never {@code null})
674-
* @param mediaType the resource's media type (never {@code null})
674+
* @param mediaType the resource's media type
675675
* @throws IOException in case of errors while setting the headers
676676
*/
677677
protected void setHeaders(HttpServletResponse response, Resource resource, @Nullable MediaType mediaType)

0 commit comments

Comments
 (0)