From e16c9d4e7681965598ee5a3277900b8449b4a615 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 18 Aug 2016 11:44:43 +0100 Subject: [PATCH] Polishing --- .../springframework/boot/web/servlet/WebServletHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/web/servlet/WebServletHandler.java b/spring-boot/src/main/java/org/springframework/boot/web/servlet/WebServletHandler.java index 4cb040985c..c735ab1e14 100644 --- a/spring-boot/src/main/java/org/springframework/boot/web/servlet/WebServletHandler.java +++ b/spring-boot/src/main/java/org/springframework/boot/web/servlet/WebServletHandler.java @@ -72,9 +72,9 @@ class WebServletHandler extends ServletComponentHandler { return null; } return new MultipartConfigElement((String) attributes.get("location"), - (long) attributes.get("maxFileSize"), - (long) attributes.get("maxRequestSize"), - (int) attributes.get("fileSizeThreshold")); + (Long) attributes.get("maxFileSize"), + (Long) attributes.get("maxRequestSize"), + (Integer) attributes.get("fileSizeThreshold")); } }