🎨 Improving structure / format of the code. 避免IDEA 红线警告

This commit is contained in:
lbw 2021-06-10 18:51:14 +08:00
parent 9c00409a8e
commit 9af834498e
2 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ import java.util.Map;
* @author lengleng
* @date 2019/2/1 认证服务器配置
*/
@Configuration
@RequiredArgsConstructor
@EnableAuthorizationServer
@Configuration(proxyBeanMethods = false)
public class AuthorizationServerConfig extends AuthorizationServerConfigurerAdapter {
private final DataSource dataSource;

View File

@ -38,7 +38,7 @@ import org.springframework.security.web.authentication.logout.LogoutSuccessHandl
*/
@Primary
@Order(90)
@Configuration(proxyBeanMethods = false)
@Configuration
public class WebSecurityConfigurer extends WebSecurityConfigurerAdapter {
@Override