mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-13 00:33:59 +07:00
testdata for IDEA-154278
This commit is contained in:
1 parent
f1f16353e2
commit
3966e55bbf
2 files changed
+19
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
class GoodCodeRed {
|
||||
public void foo(CategoryKey categoryKey) {
|
||||
Category current = getCategory(categoryKey);
|
||||
}
|
||||
|
||||
public <T extends Category<T>> T getCategory(CategoryKey<T> key) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface Category<T extends Category> {
|
||||
}
|
||||
|
||||
class CategoryKey<K extends Category> {
|
||||
}
|
||||
Reference in new issue
Block a user