Switching to the testing version (0.7.2) worked for me.
Cannot create Perl project in Eclipse 4.6 (neon)
False positive in UnusedPrivateField when local variable hides member variable
If I add "close" to the value for "closeTargets" then I no longer get the error....
The rules.xml file has this section <rule ref="rulesets/java/design.xml/CloseResource">...
Using the net.sourceforge.pmd.lang.java.rule.design.CloseResourceRule.class from...
Still a problem with 5.3.4. Another way to reproduce the problem public void querySomething(Connection...
Similar to 1279.