Skip to content

Commit 5c2c598

Browse files
kinowmr-c
authored andcommitted
WebMvcConfigurerAdapter is deprecated now
1 parent 3c4bf3b commit 5c2c598

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/commonwl/view/WebConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
import org.springframework.http.MediaType;
2828
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
2929
import org.springframework.web.servlet.config.annotation.CorsRegistry;
30-
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
30+
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
3131

3232
@Configuration
33-
public class WebConfig extends WebMvcConfigurerAdapter {
33+
public class WebConfig implements WebMvcConfigurer {
3434

3535
/**
3636
* Ordered list of formats as presented on Workflow page and supported for

0 commit comments

Comments
 (0)