ObjectIdSubclassMap: Correct Iterator to throw NoSuchElementException
commit466bec3cc9dad4166f80d05044111f9198308f8a
authorShawn O. Pearce <spearce@spearce.org>
Fri, 16 Apr 2010 15:43:06 +0000 (16 08:43 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 16 Apr 2010 23:30:21 +0000 (16 16:30 -0700)
tree1fc24e82791f82b3cfbd6f197b30d5c070485071
parent4cc7b1c5b0e383ae3d65798e35f759441417fed8
ObjectIdSubclassMap: Correct Iterator to throw NoSuchElementException

The Iterator contract says next() shall throw NoSuchElementException
if there are no more items remaining in the iteration.  We got this
wrong when I originally wrote the implementation, so fix it.

Change-Id: Iea25e6569ead5c8b3128b8a368c5b2caebec7ecc
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectIdSubclassMap.java