Remove warnings during maven-build

This is my first pull request. For practicing I thought it is a nice idea, to remove two warnings which maven logged during the build.