checkstyle, findbugs, and pmd corrections