Community
Participate
Working Groups
I have the following case: class A { public void foo() { int i= 10; foo(); foo(); i= 20; } } now I want to replace foo();foo(); with one statement. I didn't find a way to do this without loosing either the empty line before or after the two statements. What I want to achieve is class A { public void foo() { int i= 10; extracted(); i= 20; } }
in I20041207
Martin, I have found no test case in org.eclipse.jdt.core.model for this (search "79760" text in this project returns 0 occurrences). May you verify that it is fixed using last 3.1 M4 candidate (I200412142000) and makr bug as VERIFIED? Thanks
What I added is covered by ASTRewritingGroupNodeTest
Martin or Dirk, could you please verify this one?
verified