Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349308 - refactoring error in switch statment
Summary: refactoring error in switch statment
Status: CLOSED DUPLICATE of bug 133559
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 08:29 EDT by sam1948 CLA
Modified: 2011-06-14 11:03 EDT (History)
2 users (show)

See Also:


Attachments
explain by example (10.44 KB, application/pdf)
2011-06-14 08:29 EDT, sam1948 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description sam1948 CLA 2011-06-14 08:29:53 EDT
Created attachment 197946 [details]
explain by example

extract variable from within case can cause behavior change when var is extracted to outside the switch statement.
in the attachment not a pretty code but a good demonstration.
before and after refactoring.
Comment 1 Markus Keller CLA 2011-06-14 11:03:26 EDT

*** This bug has been marked as a duplicate of bug 133559 ***