Community
Participate
Eclipse IDE
Steps: 1) Hilite all of the System...getKey() expression. 2) Pick menu item Refactor>>Extract Local Variable. 3) Press Ok. The wizard then warns of a duplicate local variable. 4) Press Back. 5) Change suggested variable name from 'key' to 'foo'. 6) Press Ok. Assertion then fails. ------------------------ Bug.java ---------------- class Bug { { System.getenv().entrySet().iterator().next().getKey(); String key; } }
*** Bug 104828 has been marked as a duplicate of this bug. ***
Created attachment 25195 [details] Minimal fix The problem is that fImportEdit is not re-created when checkFinalConditions() is called again.
Fixed in HEAD 20050808
+1 for 3.1.1 from my side Martin, can you please vote?
patch looks good, verified it works.
Fixed in 3.1.1 maintenance stream > 20050810
verifying...
verified scenario works as expected.