removed PMDWarnings.

jenkins test successful:
https://jenkins.catrob.at/job/Catroid-build-and-test-source/1663/