blob: 01ae36c12c4bffb265b33dae575c7cf81c2d46b5 [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>(1);
}
}