From 21a84a6175c412ff85e5fc5d1538d94e977027db Mon Sep 17 00:00:00 2001
From: Evgeny Mandrikov
-class Somethingdiff --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]$":{ // Non-compliant +class Something<type> { // Non-compliant } -class Something { // Compliant +class Something<T> { // Compliant }
-public-- 2.39.5boolean containsAll(Collection c) { // Non-compliant +public <type> boolean containsAll(Collection<type> c) { // Non-compliant return null; } -public boolean containsAll(Collection c) { // Compliant +public <T> boolean containsAll(Collection<T> c) { // Compliant }