[*] Remove config entry sealing

This commit is contained in:
2025-06-10 00:46:03 +02:00
parent a6900e673a
commit 2096ae540c
28 changed files with 201 additions and 163 deletions

View File

@@ -0,0 +1,3 @@
plugins {
java
}

View File

@@ -0,0 +1,11 @@
package de.siphalor.tweed5.testutils;
import java.util.*;
public class MapTestUtils {
public static <K, V> SequencedMap<K, V> sequencedMap(Collection<Map.Entry<K, V>> entries) {
var map = LinkedHashMap.<K, V>newLinkedHashMap(entries.size());
entries.forEach(entry -> map.put(entry.getKey(), entry.getValue()));
return Collections.unmodifiableSequencedMap(map);
}
}