extract method from expression: declare necessary variables inside; reassign result when it was assigned before (IDEA-63593)

This commit is contained in:
anna
2010-12-29 16:21:13 +03:00
parent e54da3264b
commit fa41e76126
6 changed files with 50 additions and 1 deletions
@@ -0,0 +1,6 @@
class Foo {
void foo() {
int x = 0;
int y = <selection>x = 1</selection>;
}
}