ResourceRepoHandler PMD fix part 2