Fixed FindBugs and PMD to work with Java 8.