aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-19 11:36:02 +0300
committerGravatar Vitaly Takmazov2023-01-19 11:37:28 +0300
commit5b0f0bebda5d6369111ae35f8c335324ffa4cc7e (patch)
tree508a4dae0e53f7ef488468abb696337b240cec1f
parentfa8f5abc5454a7e0599847cbbbbd27970ba91368 (diff)
Remove unused bean
-rw-r--r--src/main/java/com/juick/config/WebConfig.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/com/juick/config/WebConfig.java b/src/main/java/com/juick/config/WebConfig.java
index 2040afd6..88148a88 100644
--- a/src/main/java/com/juick/config/WebConfig.java
+++ b/src/main/java/com/juick/config/WebConfig.java
@@ -67,10 +67,6 @@ public class WebConfig implements WebMvcConfigurer {
public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) {
resolvers.add(visitorArgumentResolver());
}
- @Bean
- public MethodValidationPostProcessor methodValidationPostProcessor() {
- return new MethodValidationPostProcessor();
- }
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
try {