Fix of Checkstyle, PMD and FindBugs warnings.