You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.graph = Objects.requireNonNull(graph, "graph must not be null");
The Javadoc for CrossComponentIterator states that an IllegalArgumentException is thrown if g == null. This is inconsistent with the superclass behavior as the super constructor directly throws NullPointerException.
The text was updated successfully, but these errors were encountered:
syoon2
added a commit
to syoon2/jgrapht
that referenced
this issue
Apr 18, 2024
jgrapht/jgrapht-core/src/main/java/org/jgrapht/traverse/CrossComponentIterator.java
Lines 84 to 95 in 6324b13
jgrapht/jgrapht-core/src/main/java/org/jgrapht/traverse/CrossComponentIterator.java
Lines 111 to 113 in 6324b13
jgrapht/jgrapht-core/src/main/java/org/jgrapht/traverse/AbstractGraphIterator.java
Lines 55 to 57 in 6324b13
The Javadoc for
CrossComponentIterator
states that anIllegalArgumentException
is thrown ifg == null
. This is inconsistent with the superclass behavior as thesuper
constructor directly throwsNullPointerException
.The text was updated successfully, but these errors were encountered: