fix strange compilation error
somehow type detection in this particular foreach loop fails in IntelliJ and mvn on the command line (though it used to work and works on the build server).
Authored by: thibautd 2015-05-18
Parent: [r33149]
Child: [r33151]