Commit
d721e4f356d2cb272b0eb47829220a5b2b23c2dc
by Harvey Harrisongluegen: use enhanced for-loops in ArrayHashSet
Fixes an infinite loop in addAll due to the following line:
mod = mod || add(iter.next()) ;
After the first successful add, mod will be true and thereafter iter.next
will never be called again, due to || shortcutting. the loop will then run forever
as any further elements will never be taken from the iterator, so hasNext will always
be true.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>