Skip to content

Commit 6975c70

Browse files
Fixed nullity discreapency between documenation and assert check in RegexRequestMatcher
Signed-off-by: Soumik Sarker <ronodhirsoumik@gmail.com>
1 parent fc795a8 commit 6975c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static RegexRequestMatcher regexMatcher(HttpMethod method) {
7676

7777
/**
7878
* Creates a case-sensitive {@code Pattern} instance to match against the request.
79-
* @param method the HTTP method to match. May be null to match all methods.
79+
* @param method the HTTP method to match. May not be null to match all methods.
8080
* @param pattern the regular expression to compile into a pattern.
8181
* @since 5.8
8282
*/

0 commit comments

Comments
 (0)