Fixed checkstyle and findbugs problems

Signed-off-by: Christopher Ewest <christookar@web.de>