cstamas commented on code in PR #2217: URL: https://github.com/apache/maven-resolver/pull/2217#discussion_r4329810505
########## maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/filter/ruletree/PrefixTree.java: ########## @@ -42,13 +43,27 @@ * <li><a href="https://repo.eclipse.org/content/repositories/tycho/.meta/prefixes.txt">Eclipse Tycho</a></li> * </ul> */ -public class PrefixTree extends Node<PrefixTree> { +public class PrefixTree { private static List<String> elementsOfPath(final String path) { return Arrays.stream(path.split("/")).filter(e -> !e.isEmpty()).collect(toList()); } + private final String name; + private final HashMap<String, PrefixTree> children; + private final boolean leaf; Review Comment: Yea, is fine. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
