extract method: correct extraction with leading comment

This commit is contained in:
anna
2011-03-11 16:53:04 +01:00
parent bacfc555ec
commit 409d5b026b
4 changed files with 33 additions and 1 deletions
@@ -0,0 +1,12 @@
class Test {
public void method2() {
if (true) {
<selection>
// add to list2
list2.add(true);</selection>
} else {
}
}
}