We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
removeIf()
1 parent 53cebae commit 4af4e57Copy full SHA for 4af4e57
bs-dev/src/main/java/net/minecraftforge/bootstrap/dev/BootstrapDevClasspathFixer.java
@@ -88,10 +88,13 @@ private boolean processExplicit(List<Path[]> classpath) {
88
}
89
90
// Remove any entries that are only a single path, no need to merge them
91
+ map.values().removeIf(paths -> paths.size() <= 1);
92
+ /*
93
for (var itr = map.values().iterator(); itr.hasNext(); ) {
94
if (itr.next().size() <= 1)
95
itr.remove();
96
97
+ */
98
99
// No explicit paths set, so nope out
100
if (map.isEmpty())
0 commit comments