Update pmd-java/src/main/resources/category/java/bestpractices.xml
Co-Authored-By: adangel <andreas.dangel@adangel.org>
This commit is contained in:
@@ -1524,7 +1524,7 @@ public class Foo {
|
||||
minimumLanguageVersion="1.7"
|
||||
since="6.11.0"
|
||||
typeResolution="true"
|
||||
message="Consider use the try-with-resources statement instead of explicitly closing the resource"
|
||||
message="Consider using a try-with-resources statement instead of explicitly closing the resource"
|
||||
class="net.sourceforge.pmd.lang.rule.XPathRule"
|
||||
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_bestpractices.html#usetrywithresources">
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user