mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
good code red: illegal generic type in instanceof fixed
This commit is contained in:
+13
-1
@@ -24,4 +24,16 @@ class A1 {
|
||||
|
||||
private class B1 {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class BreakpointTree<TP> {
|
||||
void foo(Node node) {
|
||||
if (node instanceof BNode<?>) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
static class BNode<B extends XBreakpoint<?>> extends Node{}
|
||||
}
|
||||
class Node {}
|
||||
class XBreakpoint<SR>{}
|
||||
|
||||
Reference in New Issue
Block a user