mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
testdata for IDEA-107440
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
class GoodCodeRed {
|
||||
static class ClassA {
|
||||
}
|
||||
|
||||
static class Pair<T, N> {
|
||||
}
|
||||
|
||||
<T extends ClassA, M extends T, N extends Number> void max(final M object, Pair<T, N> attribute, final N cnt) {
|
||||
}
|
||||
|
||||
<T extends ClassA, M extends T, N extends String> void max(final M object, Pair<T, N> attribute, final N str) {
|
||||
}
|
||||
|
||||
|
||||
{
|
||||
max(new ClassA(), new Pair<ClassA, Integer>(), 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user