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
@@ -1,5 +1,5 @@
// abstract methods
public class a {
class a {
<error descr="Missing method body, or declare abstract">void f();</error>
}
@@ -57,7 +57,7 @@ abstract class c8 {
//------- if only Bottom were in other package, it should have been abstract --------------------------
public abstract class AbstractTest {
abstract class AbstractTest {
abstract String getName();