warn about unused parameter if method is used locally as method reference as it could be transformed to equivalent lambda (IDEA-157988)

This commit is contained in:
Anna Kozlova
2016-06-29 18:45:13 +03:00
parent eb937bc8d7
commit 1193a54876
8 changed files with 7 additions and 33 deletions

View File

@@ -14,7 +14,7 @@ class Test {
class Test2 {
static void m(Integer i) { }
static void m(Integer <warning descr="Parameter 'i' is never used">i</warning>) { }
interface I1 {
void m(int x);