Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(JAVA-W0146) Iterator next method should throw NoSuchElementException #3

Open
VerisimilitudeX opened this issue Sep 4, 2022 · 1 comment
Assignees
Labels
hacktoberfest-accepted help wanted Extra attention is needed

Comments

@VerisimilitudeX
Copy link
Owner

Description

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.

See all occurrences on DeepSource → deepsource.io/gh/Verisimilitude11/Vigenere-Cipher/issue/JAVA-W0146/occurrences/

@desacu
Copy link

desacu commented Sep 27, 2024

Hi!! Do you need help with this? Thank you ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants