mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
lambda: forbid type params in SAM methods (IDEA-101553)
This commit is contained in:
+2
-2
@@ -76,11 +76,11 @@ public class FunctionalInterfaceTest extends LightDaemonAnalyzerTestCase {
|
||||
}
|
||||
|
||||
public void testMethodWithTypeParam() throws Exception {
|
||||
doTestFunctionalInterface(null);
|
||||
doTestFunctionalInterface("Target method is generic");
|
||||
}
|
||||
|
||||
public void testTwoMethodsSameSignatureTypeParams() throws Exception {
|
||||
doTestFunctionalInterface(null);
|
||||
doTestFunctionalInterface("Target method is generic");
|
||||
}
|
||||
|
||||
public void testAbstractClass() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user