mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
testdata for IDEA-154278
This commit is contained in:
@@ -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