for loops can be replaced with the foreach
While replaced by foreach
if repleceable by switch
Merge pull request #215 from sieben/java_migration

Minor java style cleanup