From 5b0f0bebda5d6369111ae35f8c335324ffa4cc7e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 19 Jan 2023 11:36:02 +0300 Subject: Remove unused bean --- src/main/java/com/juick/config/WebConfig.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main/java') 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 resolvers) { resolvers.add(visitorArgumentResolver()); } - @Bean - public MethodValidationPostProcessor methodValidationPostProcessor() { - return new MethodValidationPostProcessor(); - } @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { try { -- cgit v1.2.3