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 137afc8 commit 1ee78ddCopy full SHA for 1ee78dd
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