Skip to content

Commit

Permalink
Use LinkedHashMap to preserve parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
Shurazi committed Sep 12, 2024
1 parent 80a8c84 commit 4b148e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-util/src/com/mirth/connect/util/HttpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
Expand Down Expand Up @@ -104,7 +104,7 @@ public static Map<String, List<String>> getTableMap(boolean useVariable, String
}

public static Map<String, List<String>> getTableMap(String mapVariable, MessageMaps messageMaps, ConnectorMessage connectorMessage) {
Map<String, List<String>> map = new HashMap<String, List<String>>();
Map<String, List<String>> map = new LinkedHashMap<String, List<String>>();

try {
Map<?, ?> source = (Map<?, ?>) messageMaps.get(mapVariable, connectorMessage);
Expand Down

0 comments on commit 4b148e4

Please sign in to comment.