Actually use the linked hash map

This commit is contained in:
Nassim Jahnke 2024-04-21 21:17:03 +02:00
parent fd2a9dec8c
commit 4a5f8937d7
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
1 changed files with 6 additions and 5 deletions

View File

@ -33,13 +33,14 @@ public final class ManualRunner {
private static final Set<String> SPECIAL_BACKWARDS_ONLY = Set.of("1.9.4", "1.10", "1.11");
// April Fool version -> Release version. Linked map to keep order during mapping writing
private static final Map<String, String> SPECIAL_VERSIONS = new LinkedHashMap<>(Map.of(
"3D_Shareware", "1.14",
"20w14infinite", "1.16"
));
private static final Map<String, String> SPECIAL_VERSIONS = new LinkedHashMap<>();
private static final boolean ALL = true;
static {
SPECIAL_VERSIONS.put("3D_Shareware", "1.14");
SPECIAL_VERSIONS.put("20w14infinite", "1.16");
}
public static void main(final String[] args) throws IOException {
if (ALL) {
runAll(ErrorStrategy.WARN);