blob: a9fab53d313eca004e198d8a6def27837b87964f [file] [log] [blame]
// "Change 'new Foo<Integer>()' to 'new Foo<Number>()'" "true"
class Foo<T> {
Foo(T t) {}
Foo() {}
}
class Constructors {
public static void main(String[] args) {
Foo<Number> foo2 = new Foo<Int<caret>eger>();
}
}