Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring Guide recommends to use obsolete method [SPR-16790] #21330

spring-projects-issues opened this issue May 3, 2018 · 1 comment
in: core in: web status: invalid


Copy link

@spring-projects-issues spring-projects-issues commented May 3, 2018

Igor Manushin opened SPR-16790 and commented

See document

Code below tries to use deprecated WebMvcConfigurerAdapter, instead of inline interface implementation:

public WebMvcConfigurer corsConfigurer() {
    return new WebMvcConfigurerAdapter() {
        public void addCorsMappings(CorsRegistry registry) {

Affects: 5.0.5

Reference URL: spring-guides/gs-rest-service-cors#18

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented May 3, 2018

Rossen Stoyanchev commented

There is also nothing to fix in the Spring Framework, and you've already created a ticket under spring-guides. That's more than sufficient.

@spring-projects-issues spring-projects-issues added type: bug status: invalid in: core in: web labels Jan 11, 2019
@spring-projects-issues spring-projects-issues removed the type: bug label Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core in: web status: invalid
None yet

No branches or pull requests

2 participants