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>