refactored code
Merge branch 'master' of https://github.com/gfliess/TrainingJava-Modul2.git