geforkt von Mirrors/Velocity
Remove redundant contains check
Dieser Commit ist enthalten in:
Ursprung
0f5dc4b248
Commit
8c98395d51
@ -43,12 +43,10 @@ public class PluginDependencyUtils {
|
||||
graph.removeEdge(node, candidate);
|
||||
|
||||
if (graph.adjacentNodes(node).isEmpty()) {
|
||||
if (!noEdges.contains(node)) {
|
||||
noEdges.add(node);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!graph.edges().isEmpty()) {
|
||||
throw new IllegalStateException("Plugin circular dependency found: " + createLoopInformation(graph));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren