Fix PMD and update checkstyle config