mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
prefer interface as super method when class extends unrelated class and interface (IDEA-99347)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
interface Errors {
|
||||
java.util.Collection<java.lang.String> getErrorMessages();
|
||||
|
||||
}
|
||||
|
||||
class Test extends AbstrClass implements Errors {
|
||||
}
|
||||
|
||||
|
||||
abstract class AbstrClass {
|
||||
public java.util.Collection getErrorMessages() {return null;}
|
||||
}
|
||||
Reference in New Issue
Block a user