mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +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.*;
|
||||
|
||||
public class MyClass implements Comparator<String> {
|
||||
class MyClass implements Comparator<String> {
|
||||
|
||||
<error descr="Static method 'compare(String, String)' in 'MyClass' cannot override instance method 'compare(T, T)' in 'java.util.Comparator'">public static int compare(String a, String b)</error> {
|
||||
return 42;
|
||||
|
||||
Reference in New Issue
Block a user