We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc795a8 commit 985e7cfCopy full SHA for 985e7cf
web/src/main/java/org/springframework/security/web/util/matcher/RegexRequestMatcher.java
@@ -81,7 +81,6 @@ public static RegexRequestMatcher regexMatcher(HttpMethod method) {
81
* @since 5.8
82
*/
83
public static RegexRequestMatcher regexMatcher(HttpMethod method, String pattern) {
84
- Assert.notNull(method, "method cannot be null");
85
Assert.hasText(pattern, "pattern cannot be empty");
86
return new RegexRequestMatcher(pattern, method.name());
87
}
0 commit comments