JBIDE-14553 : use enhanced for loop

Signed-off-by: Fred Bricon <fbricon@gmail.com>