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 class implements the java.util.Iterator interface. However, its next() method is not capable of throwing java.util.NoSuchElementException. This is a violation of the Iterator interface's contract, and will not work with code that expects next() to throw when the iterator is exhausted.
Occurrences
There is 1 occurrence of this issue in the repository.
Description
This class implements the
java.util.Iterator
interface. However, itsnext()
method is not capable of throwingjava.util.NoSuchElementException
. This is a violation of theIterator
interface's contract, and will not work with code that expectsnext()
to throw when the iterator is exhausted.Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/Verisimilitude11/Vigenere-Cipher/issue/JAVA-W0146/occurrences/
The text was updated successfully, but these errors were encountered: