Reports any implementations of Iterator.hasNext()
which call next() on themselves. While this is a common
mistake, such calls are almost certainly in error, as hasNext()
should not modify the iterators state, while next() should.
Powered by InspectionGadgets