Removing checkstyle, findbug and PMD warnings.