pmd warnings fixed.
Merge pull request #956 from Catrobat/PMDWarningsPart11

Pmd warnings fixed