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: I396e882bf1dad9f82231c90f95532162051c3d3b
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
12 files changed