Skip to content

Commit ecc230b

Browse files
committed
SecurityConfig: remove unnecessary @configuration annotation.
@see https://jira.spring.io/browse/SEC-2788 No functional changes.
1 parent 22dab5c commit ecc230b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/ru/mystamps/web/support/spring/security/SecurityConfig.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import javax.servlet.http.HttpServletRequest;
2222

2323
import org.springframework.context.annotation.Bean;
24-
import org.springframework.context.annotation.Configuration;
2524
import org.springframework.context.ApplicationListener;
2625
import org.springframework.http.HttpMethod;
2726

@@ -45,7 +44,6 @@
4544
import ru.mystamps.web.config.ServicesConfig;
4645
import ru.mystamps.web.Url;
4746

48-
@Configuration
4947
@EnableWebMvcSecurity
5048
@EnableGlobalMethodSecurity(prePostEnabled = true)
5149
public class SecurityConfig extends WebSecurityConfigurerAdapter {

0 commit comments

Comments
 (0)