Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1ee78dd

Browse files
Correct JavaDoc about nullable HttpMethod Parameter in RegexRequestMatcher
Closes gh-18069 Signed-off-by: Soumik Sarker <ronodhirsoumik@gmail.com>
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)

AltStyle によって変換されたページ (->オリジナル) /