Polishing

This commit is contained in:
Andy Wilkinson
2016-08-18 11:44:43 +01:00
parent 70b5c97c7f
commit e16c9d4e76

View File

@@ -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"));
}
}