Project: JDT
Bug 43248 "Assign statement to local variable" removes preceeding comment [quick assist] [ast rewrite]
Reported: 2003-09-17 15:54:57 | Status: verified fixed

Consider the method public void a() { // here is a comment System.getenv("");X } where X denotes the cursor. If the quick fix "Assign statement to local variable" is used the comment disapears...

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AssignToVariableAssistProposal.java