Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
java
/
java-tests
/
testData
/
codeInsight
/
daemonCodeAnalyzer
/
quickFix
/
changeNewOperatorType
/
afterCantCollapseDiamonds.java
blob: 2a7bdecad86242a229c88662fe6044b1afc8990f [
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
<
Number
>(
1
);
}
}