Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Remove redundant contains check
Dieser Commit ist enthalten in:
Ursprung
0f5dc4b248
Commit
8c98395d51
@ -43,9 +43,7 @@ public class PluginDependencyUtils {
|
|||||||
graph.removeEdge(node, candidate);
|
graph.removeEdge(node, candidate);
|
||||||
|
|
||||||
if (graph.adjacentNodes(node).isEmpty()) {
|
if (graph.adjacentNodes(node).isEmpty()) {
|
||||||
if (!noEdges.contains(node)) {
|
noEdges.add(node);
|
||||||
noEdges.add(node);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren