check overriding in correct order (IDEA-97506)

This commit is contained in:
anna
2012-12-14 18:31:56 +01:00
parent d29e6b8b99
commit 5aa6fe3572
3 changed files with 19 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
import java.util.List;
interface ExampleInterface {
public List exampleMethod();
}
class ExampleSuperClass {
public List<String> exampleMethod() {
return null;
}
}
public class ExampleSubClass extends ExampleSuperClass implements ExampleInterface {
}