Skip to content

Commit dd1f097

Browse files
ghustajzheaux
authored andcommitted
Add @FunctionalInterface to RequestMatcher
Add `@FunctionalInterface` to `RequestMatcher`. According to the documentation, it is a FunctionalInterface. See: https://docs.spring.io/spring-security/reference/6.5/servlet/authorization/authorize-http-requests.html#match-by-custom Signed-off-by: Guillaume Husta <guillaume.husta@gmail.com>
1 parent 508b3f2 commit dd1f097

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* @author Eddú Meléndez
2929
* @since 3.0.2
3030
*/
31+
@FunctionalInterface
3132
public interface RequestMatcher {
3233

3334
/**

0 commit comments

Comments
 (0)