redundant cast: restoring call by top level, let's search by arg list offset in order to avoid finding method calls from qualifiers

This commit is contained in:
Anna.Kozlova
2016-04-20 17:49:29 +02:00
parent 22c8d0f9ce
commit 401ec5dbfa
4 changed files with 26 additions and 5 deletions
@@ -75,6 +75,10 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
public void testIDEA154861() { doTest();}
public void testQualifierOfMethodWithCast() throws Exception {
doTest();
}
private void doTest() {
doTest(BASE_PATH + "/" + getTestName(false) + ".java", true, false);
}