fix pmd with java 7