SPR-17074 pass argument of addAll/putAll into constructor
This commit is contained in:
committed by
Juergen Hoeller
parent
aa656c47b8
commit
457d586859
@@ -159,8 +159,7 @@ public class StandardMultipartHttpServletRequest extends AbstractMultipartHttpSe
|
||||
|
||||
// Servlet 3.0 getParameterMap() not guaranteed to include multipart form items
|
||||
// (e.g. on WebLogic 12) -> need to merge them here to be on the safe side
|
||||
Map<String, String[]> paramMap = new LinkedHashMap<>();
|
||||
paramMap.putAll(super.getParameterMap());
|
||||
Map<String, String[]> paramMap = new LinkedHashMap<>(super.getParameterMap());
|
||||
for (String paramName : this.multipartParameterNames) {
|
||||
if (!paramMap.containsKey(paramName)) {
|
||||
paramMap.put(paramName, getParameterValues(paramName));
|
||||
|
||||
Reference in New Issue
Block a user