redundant cast: compare base types for anonymous classes

This commit is contained in:
Anna Kozlova
2016-03-11 10:51:37 +01:00
parent ad19b800f9
commit 320904a20f
3 changed files with 17 additions and 1 deletions
@@ -52,6 +52,10 @@ public class LambdaRedundantCastTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testWithAnonymousClasses() throws Exception {
doTest();
}
private void doTest() {
doTest(BASE_PATH + "/" + getTestName(false) + ".java", true, false);
}