Skip to content

Commit 1ee78dd

Browse files
Correct JavaDoc about nullable HttpMethod Parameter in RegexRequestMatcher
Closes gh-18069 Signed-off-by: Soumik Sarker <[email protected]>
1 parent 137afc8 commit 1ee78dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public static RegexRequestMatcher regexMatcher(HttpMethod method) {
8181
* @since 5.8
8282
*/
8383
public static RegexRequestMatcher regexMatcher(HttpMethod method, String pattern) {
84-
Assert.notNull(method, "method cannot be null");
8584
Assert.hasText(pattern, "pattern cannot be empty");
8685
return new RegexRequestMatcher(pattern, method.name());
8786
}

0 commit comments

Comments
 (0)