do not replace type with immediate type without necessity (IDEA-56926)

This commit is contained in:
anna
2010-08-05 15:54:27 +04:00
parent 6fabe67a43
commit e0ca0eb4cd
4 changed files with 46 additions and 2 deletions
@@ -0,0 +1,10 @@
class A {
class B {
}
class C {
void testHere() {
B vari = new B();
}
}
}
@@ -0,0 +1,10 @@
class A {
class B {
}
class C {
void testHere() {
new <caret>B()
}
}
}