From d0d6571d36dadd8348cb484b55c6c4b18be37303 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Mar 2018 23:12:19 +0300 Subject: boot: multipart is autoconfigured --- .../java/com/juick/server/configuration/BaseWebConfiguration.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java index ac9eb224..ff34e370 100644 --- a/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java +++ b/juick-common/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java @@ -74,13 +74,6 @@ public class BaseWebConfiguration implements WebMvcConfigurer, SchedulingConfigu return mapper; } - @Bean - public MultipartResolver multipartResolver() { - CommonsMultipartResolver resolver = new CommonsMultipartResolver(); - resolver.setMaxUploadSize(10000000); - return resolver; - } - @Override public void configureTasks(ScheduledTaskRegistrar taskRegistrar) { taskRegistrar.setScheduler(taskExecutor()); -- cgit v1.2.3