extract method: do not declare variables after call with local class defined in extracted method (IDEA-46775)

This commit is contained in:
anna
2010-05-26 13:28:38 +04:00
parent 6806c16bfd
commit 5c6d20dc4e
3 changed files with 19 additions and 0 deletions
@@ -0,0 +1,8 @@
class Test {
void foo() {
<selection>class X {}
X x;
</selection>
x = null;
}
}