Fixed some issues that SonarQube detected.
Merge pull request #10 from codecentric/feature/sonar

Fixed some issues that SonarQube detected.