Use jdk 5 for-each loop

Replace simple uses of Iterator with a corresponding for-loop. Also add
missing braces on loops as necessary.

Change-Id: I85b389f0fcd3fdb8e77ccb282bb0b4c7015db8fd
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
8 files changed