This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I try to inline the method printGreeting but the first two lines end up on the same line (and an empty line at the end). Like: public class MultipleExpressionsTest { public void testMethod() { System.out.println("Hello World!");System.out.println("Hello World!"); System.out.println("Hello World!"); } public void printGreeting() { System.out.println("Hello World!"); } } I think this is a problem in CasualDiff.
Created attachment 108317 [details] Testcase
http://hg.netbeans.org/jet-main/rev/9542a0364119
Integrated into 'main-golden', will be available in build *201105200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9542a0364119 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198630: fixing rewrite of statements in blocks.
release701: http://hg.netbeans.org/releases/rev/83e220e6f720