Skip to content

Commit 4f4b9f6

Browse files
committed
Fix checkstyle violation
1 parent 4e4ec26 commit 4f4b9f6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@ public String encodeURL(String url) {
162162
}
163163

164164

165+
/**
166+
* Runtime exception to get far enough (to ResourceUrlProviderExposingInterceptor)
167+
* where it can be re-thrown as ServletRequestBindingException to result in
168+
* a 400 response.
169+
*/
165170
@SuppressWarnings("serial")
166171
static class LookupPathIndexException extends IllegalArgumentException {
167172

0 commit comments

Comments
 (0)