Remove useless hasNext checks