Checkstyle, pmd and findbug corrections.