diff --git a/src/main/java/StevenDimDoors/experimental/DirectedGraph.java b/src/main/java/StevenDimDoors/experimental/DirectedGraph.java index cd56c75..df2aa6c 100644 --- a/src/main/java/StevenDimDoors/experimental/DirectedGraph.java +++ b/src/main/java/StevenDimDoors/experimental/DirectedGraph.java @@ -165,8 +165,8 @@ public class DirectedGraph { Edge innerEdge = (Edge) edge; - // Check that this node actually belongs to this graph instance. - // Accepting foreign nodes could corrupt the graph's internal state. + // Check that this edge actually belongs to this graph instance. + // Accepting foreign edges could corrupt the graph's internal state. if (innerEdge.graphEntry.owner() != edges) { throw new IllegalArgumentException("The specified edge does not belong to this graph.");