Upgrade PMD to 5.2.1 to fix #2