Skip to content

Commit

Permalink
Merge pull request resteasy#4087 from jamezp/RESTEASY-3465
Browse files Browse the repository at this point in the history
[RESTEASY-3465] Use an FIFO map for the form data.
  • Loading branch information
jamezp authored Mar 15, 2024
2 parents 605aa4c + 1198230 commit b3711a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import java.io.UncheckedIOException;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -45,7 +45,7 @@ public MultipartFormDataInputImpl(final Multipart multipart, final Providers wor

public Map<String, List<InputPart>> getFormDataMap() {
if (formDataMap == null) {
formDataMap = new HashMap<String, List<InputPart>>();
formDataMap = new LinkedHashMap<>();
}
return formDataMap;
}
Expand Down

0 comments on commit b3711a9

Please sign in to comment.