diff options
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> |