From e1b5717675646779553cebdfa510dbca17e2a30f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Fri, 2 Nov 2018 09:09:13 +0100 Subject: [PATCH] Fix #1372 --- .../resources/category/java/codestyle.xml | 6 +++-- .../codestyle/xml/UselessQualifiedThis.xml | 23 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/pmd-java/src/main/resources/category/java/codestyle.xml b/pmd-java/src/main/resources/category/java/codestyle.xml index 3329ce7284..483d2e3a05 100644 --- a/pmd-java/src/main/resources/category/java/codestyle.xml +++ b/pmd-java/src/main/resources/category/java/codestyle.xml @@ -1950,7 +1950,9 @@ public class Foo { message="Useless qualified this usage in the same class." class="net.sourceforge.pmd.lang.rule.XPathRule" externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_codestyle.html#uselessqualifiedthis"> - Look for qualified this usages in the same class. + + Reports qualified this usages in the same class. + 3 @@ -1958,7 +1960,7 @@ public class Foo { + + + False positive for UselessQualifiedThis #1372 + 0 + + + + \ No newline at end of file