From 0269bb49efbbad8d4375122400cf47042d283457 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Thu, 5 Jul 2012 14:30:42 +0600 Subject: [PATCH] SONAR-3624 Fix typos in PMD XPath rule template --- .../sonar/l10n/pmd/rules/pmd/XPathRule.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/pmd/rules/pmd/XPathRule.html b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/pmd/rules/pmd/XPathRule.html index ac388e34948..2199e3c7103 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/pmd/rules/pmd/XPathRule.html +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/pmd/rules/pmd/XPathRule.html @@ -1,20 +1,20 @@ PMD provides a very handy method for creating new rules by writing an XPath query. When the XPath query finds a match, a violation is created. - Let's take a simple example : assume we have a Factory class that must be always declared final. - We'd like to report a violation each time a declaration of Factory is not declared final. Consider the following class: : +Let's take a simple example: assume we have a Factory class that must be always declared final. +We'd like to report a violation each time a declaration of Factory is not declared final. Consider the following class:
 public class a {
-	Factory f1;
+  Factory f1;
 
-	void myMethod() {
-		Factory f2;
-		int a;
-	}
+  void myMethod() {
+    Factory f2;
+    int a;
+  }
 }
 
- The following expression does the magic we need: +The following expression does the magic we need:
 //VariableDeclarator
  [../Type/ReferenceType/ClassOrInterfaceType
   [@Image = 'Factory'] and ..[@Final='false']]
 
- See the XPath rule tutorial for more information. \ No newline at end of file +See the XPath rule tutorial for more information. -- 2.39.5