From a4176126cae40870f2ed2a001ef95a52451cb31a Mon Sep 17 00:00:00 2001 From: Jeff Hube Date: Tue, 21 Aug 2018 17:01:01 -0400 Subject: [PATCH] Fix rule description --- pmd-apex/src/main/resources/category/apex/codestyle.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pmd-apex/src/main/resources/category/apex/codestyle.xml b/pmd-apex/src/main/resources/category/apex/codestyle.xml index 1d30583fed..99ee95f0b3 100644 --- a/pmd-apex/src/main/resources/category/apex/codestyle.xml +++ b/pmd-apex/src/main/resources/category/apex/codestyle.xml @@ -154,7 +154,10 @@ public class Foo { message="Use one line for each declaration, it enhances code readability." class="net.sourceforge.pmd.lang.apex.rule.ApexXPathRule" externalInfoUrl="${pmd.website.baseurl}/pmd_rules_apex_codestyle.html#onedeclarationperstatement"> - Foo + +Apex allows the use of several variables declaration of the same type on one line. However, it +can lead to quite messy code. This rule looks for several declarations on the same line. + 1