IDEA-120784 "Class is public should be declared in a file named <Classname>.java" for inner interface

This commit is contained in:
Alexey Kudravtsev
2014-02-18 13:55:52 +04:00
parent 65642d998f
commit c7b78f76a2
309 changed files with 381 additions and 364 deletions
@@ -14,7 +14,7 @@ class SameSignatureTest {
void f(Object o) {}
}
public class Test1 {
class Test1 {
<error descr="'bug(String)' clashes with 'bug(String)'; both methods have same erasure">public void bug(String s)</error> {
}