File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-web/src/main/java/org/springframework/web/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -74,7 +74,7 @@ public static RequestPath parseAndCache(HttpServletRequest request) {
74
74
*/
75
75
public static RequestPath getParsedRequestPath (ServletRequest request ) {
76
76
RequestPath path = (RequestPath ) request .getAttribute (PATH_ATTRIBUTE );
77
- Assert .notNull (path , "Expected parsed RequestPath in request attribute \" " + PATH_ATTRIBUTE + "\" ." );
77
+ Assert .notNull (path , () -> "Expected parsed RequestPath in request attribute \" " + PATH_ATTRIBUTE + "\" ." );
78
78
return path ;
79
79
}
80
80
You can’t perform that action at this time.
0 commit comments