Update Iterator.java

ensuring recommit of iterator