unused parameter: do not highlight if method is used locally by method reference (IDEA-123265)

This commit is contained in:
Anna Kozlova
2014-04-08 17:54:55 +02:00
parent e14e21af5e
commit 6fd18d16b3
4 changed files with 29 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ abstract class AbstractCollection<E> implements Collection<E> {
public boolean add(E e) {
return true;
}
public boolean addAll(Collection<? extends E> <warning descr="Parameter 'c' is never used">c</warning>) {
public boolean addAll(Collection<? extends E> c) {
boolean modified = false;
return modified;
}