Bug 188040 - [quik fix:add unimplemented methods] should preserve original methods order defined by interface
Summary: [quik fix:add unimplemented methods] should preserve original methods order d...
Status: RESOLVED DUPLICATE of bug 186772
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-21 03:08 EDT by Andrey Utkin CLA
Modified: 2007-05-21 04:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Utkin CLA 2007-05-21 03:08:41 EDT
Build ID: I20070323-1616 (3.3M6)

Steps To Reproduce:
1. Create new "interface IInt { void zzz(); void aaa(); }"
2. Create new "class IntImpl implements IInt {}"
3. Call quick fix "add unimplemented methods" for IntImpl;
4. QF add methods from IInt to IntImpl in the alphabetical order:
class IntImpl implements IInt { void aaa(){} void zzz(){}}
But should be:
class IntImpl implements IInt { void zzz(){} void aaa(){}}


More information:
As I remember, somewhere in past QF don`t force alphabetical methods sort in such case. I`v checked 3.2.0 (M20060629-1905) and it works as 3.3M7, i.e. force sorting methods. 
May be it is possible to introduce option in Code Style/Clean-up settings for such case...

Thanks.
Comment 1 Martin Aeschlimann CLA 2007-05-21 04:17:16 EDT

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