diff --git a/source/net/filebot/License.java b/source/net/filebot/License.java index 34bf0a8d..715c3ab5 100644 --- a/source/net/filebot/License.java +++ b/source/net/filebot/License.java @@ -16,7 +16,7 @@ import java.time.LocalDate; import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; -import java.util.HashMap; +import java.util.LinkedHashMap; import java.util.Map; import java.util.Optional; @@ -143,7 +143,7 @@ public class License { } private static Map getRequestParameters() { - Map parameters = new HashMap(2); + Map parameters = new LinkedHashMap(2); // add standard HTTP headers parameters.put("Date", DateTimeFormatter.RFC_1123_DATE_TIME.format(ZonedDateTime.now()));