Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 296413 - add quick-fix for "qualified case labels" to "unqualified enum constant" change
Summary: add quick-fix for "qualified case labels" to "unqualified enum constant" change
Status: CLOSED DUPLICATE of bug 90140
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 09:05 EST by Ralf Hauser CLA
Modified: 2009-11-30 13:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser CLA 2009-11-29 09:05:49 EST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102815 Iceweasel/3.0.6 (Debian-3.0.6-3)
Build Identifier: Build id: 20090920-1017

<<The qualified case label MyEnumClass.MY_VAL must be replaced with the unqualified enum constant MY_VAL>>

this text is very complicated and dropping "MyEnumClass." would be so easy

Reproducible: Always

Steps to Reproduce:
.
Comment 1 Markus Keller CLA 2009-11-30 13:33:43 EST
If you have a better proposal for the problem message, we can reopen this and move to JDT/Core.

Javac 1.6 says "an enum switch case label must be the unqualified name of an enumeration constant", which is not better.

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