Project: JDT
Bug 58796 Wrong formatting in Extract Local Variable [refactoring]
Reported: 2004-04-16 04:52:14 | Status: resolved fixed

200404131323 public class A { void m() { int i= 1 + 2; } } Select "1 + 2" and choose Refactor > Extract Local Variable. Result has a newline too much: public class A { void m() { int j= 1 + 2; int i= j; } }

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java