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