]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3600 Update description for Checkstyle rules ClassTypeParameterName and MethodT...
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 26 Sep 2012 14:42:07 +0000 (20:42 +0600)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 26 Sep 2012 14:42:07 +0000 (20:42 +0600)
plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.html
plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.html

index 2e812af3fbce94b2aec120f0c4f981230b7d2db0..ed1cb11d0728ef558ecefe8f06f78cf66c8a9f58 100644 (file)
@@ -4,9 +4,9 @@ Checks that class parameter names conform to the specified format
 The following code snippet illustrates this rule for format "^[A-Z]$":
 </p>
 <pre>
-class Something<type> { // Non-compliant
+class Something&lt;type&gt; { // Non-compliant
 }
 
-class Something<T> { // Compliant
+class Something&lt;T&gt; { // Compliant
 }
 </pre>
index 649ec3c1cf12811f382f538d8f6a35f0b851fc95..19bc06a227328fd7d70e28e2c2b26c8116d41d65 100644 (file)
@@ -4,10 +4,10 @@ Checks that method type parameter names conform to the specified format
 The following code snippet illustrates this rule for format "^[A-Z]$":
 </p>
 <pre>
-public <type> boolean containsAll(Collection<type> c) { // Non-compliant
+public &lt;type&gt; boolean containsAll(Collection&lt;type&gt; c) { // Non-compliant
   return null;
 }
 
-public <T> boolean containsAll(Collection<T> c) { // Compliant
+public &lt;T&gt; boolean containsAll(Collection&lt;T&gt; c) { // Compliant
 }
 </pre>