extract method: do not include comments when they were not included in selection; leave assignment expressions untouched? (IDEA-72730 )

This commit is contained in:
anna
2011-08-04 14:16:33 +04:00
parent 139843fe5b
commit 6e3ca2f9e1
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,10 @@
class Test {
void bar(){}
void foo() {
newMethod();//some comment here
}
private void newMethod() {
bar();
}
}