mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
import java.util.List;
|
||||
|
||||
public class IDEA80386 {
|
||||
class IDEA80386 {
|
||||
void foo(Class<List> listClass) {
|
||||
<error descr="Incompatible types. Found: 'java.lang.Class<java.util.List>', required: 'java.lang.Class<? extends java.util.List<?>>'">Class<? extends List<?>> cls = listClass;</error>
|
||||
Class < ?extends List > cls1 = listClass;
|
||||
|
||||
Reference in New Issue
Block a user