diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-09-26 20:42:07 +0600 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-09-26 20:42:07 +0600 |
commit | 21a84a6175c412ff85e5fc5d1538d94e977027db (patch) | |
tree | 958b02009b35c8228004362d91b083c78dffbf77 /plugins | |
parent | b2c8e5248d2ebc7090b61ea83544e544c7eab1be (diff) | |
download | sonarqube-21a84a6175c412ff85e5fc5d1538d94e977027db.tar.gz sonarqube-21a84a6175c412ff85e5fc5d1538d94e977027db.zip |
SONAR-3600 Update description for Checkstyle rules ClassTypeParameterName and MethodTypeParameterName
Diffstat (limited to 'plugins')
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.html b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.html index 2e812af3fbc..ed1cb11d072 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.html +++ b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck.html @@ -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<type> { // Non-compliant } -class Something<T> { // Compliant +class Something<T> { // Compliant } </pre> diff --git a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.html b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.html index 649ec3c1cf1..19bc06a2273 100644 --- a/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.html +++ b/plugins/sonar-checkstyle-plugin/src/main/resources/org/sonar/l10n/checkstyle/rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck.html @@ -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 <type> boolean containsAll(Collection<type> c) { // Non-compliant return null; } -public <T> boolean containsAll(Collection<T> c) { // Compliant +public <T> boolean containsAll(Collection<T> c) { // Compliant } </pre> |