mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
after instanceof, prefer interfaces and abstract classes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package zzzzz;
|
||||
|
||||
public class Holder {
|
||||
{
|
||||
Foo foo = null;
|
||||
if (foo instanceof <caret>)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
interface Foo {}
|
||||
interface IFoo extends Foo {}
|
||||
abstract class Goo implements IFoo {}
|
||||
class Bar extends Goo {}
|
||||
Reference in New Issue
Block a user