testdata for IDEA-154278

This commit is contained in:
Anna.Kozlova
2016-04-06 21:07:38 +02:00
parent f1f16353e2
commit 3966e55bbf
2 changed files with 19 additions and 0 deletions

View File

@@ -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> {
}