Project: JDT
Bug 226195 [quick assist] New local variable quickfix gives illegal result.
Reported: 2008-04-08 16:12:55 | Status: resolved fixed

Build ID: M20080221-1800 Steps To Reproduce: Please see that applying the "Assign statement to new local variable" quickfix gives an illegal result. ----------------- Bug.java ------------------- class Bug{ void foo(){ if(0>hashCode()) return; else equals(null); }}

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/proposals/AssignToVariableAssistProposal.java