@Test void collapseEquals() { assertEquals(Map.of("", List.of("v1")), GitMlRules.stripDuplicatePrefixes(Map.of("k1", List.of("v1")))); }
static Map<String, List<String>> stripDuplicatePrefixes(Map<String, List<String>> fullList) { var trie = mapToTrie(fullList); var pruned = pruneEntry(trie); return trieToMap(pruned, ""); }
GitMlRules { static Map<String, List<String>> stripDuplicatePrefixes(Map<String, List<String>> fullList) { var trie = mapToTrie(fullList); var pruned = pruneEntry(trie); return trieToMap(pruned, ""); } }
GitMlRules { static Map<String, List<String>> stripDuplicatePrefixes(Map<String, List<String>> fullList) { var trie = mapToTrie(fullList); var pruned = pruneEntry(trie); return trieToMap(pruned, ""); }  }
GitMlRules { static Map<String, List<String>> stripDuplicatePrefixes(Map<String, List<String>> fullList) { var trie = mapToTrie(fullList); var pruned = pruneEntry(trie); return trieToMap(pruned, ""); }  static void main(String[] args); }
GitMlRules { static Map<String, List<String>> stripDuplicatePrefixes(Map<String, List<String>> fullList) { var trie = mapToTrie(fullList); var pruned = pruneEntry(trie); return trieToMap(pruned, ""); }  static void main(String[] args);  }