Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349308

Summary: refactoring error in switch statment
Product: [Eclipse Project] JDT Reporter: sam1948 <kalinka1948>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kalinka1948, markus.kell.r
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
explain by example none

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 ***