mirror of
https://github.com/apache/struts.git
synced 2026-08-05 14:47:09 +00:00
Adds missing test cases of temporary files
This commit is contained in:
+1
-2
@@ -39,7 +39,6 @@ import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import static org.apache.commons.lang3.StringUtils.normalizeSpace;
|
||||
|
||||
@@ -136,7 +135,7 @@ public class JakartaStreamMultiPartRequest extends AbstractMultiPartRequest {
|
||||
return;
|
||||
}
|
||||
|
||||
List<String> values = parameters.computeIfAbsent(fieldName, ArrayList::new);
|
||||
List<String> values = parameters.computeIfAbsent(fieldName, k -> new ArrayList<>());
|
||||
values.add(fieldValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user