unused parameter: correctly ignore parameters used in overridden methods

when graph was build over not project scope (IDEA-180281)
This commit is contained in:
Anna.Kozlova
2017-10-11 12:09:57 +02:00
parent a695c507aa
commit 4e2a83d6d0
6 changed files with 64 additions and 4 deletions
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,7 @@
public class Test {
public void doSmth(String str) {}
public static void main(String[] args) {
new Test().doSmth("");
}
}
@@ -0,0 +1,5 @@
public class Main extends Test {
public void doSmth(String str) {
System.out.println(str);
}
}