Correct method signature in code example

Closes gh-1887
This commit is contained in:
Andrew McCallum
2018-06-27 09:29:54 +01:00
committed by Stephane Nicoll
parent 6c4289e238
commit d8878e4513

View File

@@ -335,7 +335,7 @@ public class WebConfig implements WebFluxConfigurer {
}
@Override
default void addCorsMappings(CorsRegistry registry) {
public void addCorsMappings(CorsRegistry registry) {
// configure CORS...
}