Add missing @FunctionalInterface in oauth2 modules

Fixes gh-8020
This commit is contained in:
Joe Grandja
2020-02-24 11:32:26 -05:00
parent 3e5600f83f
commit fa73b1397a
16 changed files with 32 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@ package org.springframework.security.oauth2.core;
* @author Josh Cummings
* @since 5.1
*/
@FunctionalInterface
public interface OAuth2TokenValidator<T extends AbstractOAuth2Token> {
/**