Bug 186772 - [override method] Generated methods are arranged incorrectly
Summary: [override method] Generated methods are arranged incorrectly
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 188040 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-14 08:12 EDT by Sasha CLA
Modified: 2008-05-08 09:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sasha CLA 2007-05-14 08:12:43 EDT
Build ID:  I20061214-1445

Steps To Reproduce:
When I declare an instance of an interface or abstract class and use the feature "Add implemented methods", Eclipse generates the needed methods, but it arranges them incorrectly. The order is very strange, so it seems that they come from the hash table and thus their order was hashed out. However the order of the methods should be the same as in the declaring interface/abstract class.

More information:
Comment 1 Olivier Thomann CLA 2007-05-14 08:44:20 EDT
Moving to JDT/UI.
Comment 2 Martin Aeschlimann CLA 2007-05-21 04:17:16 EDT
*** Bug 188040 has been marked as a duplicate of this bug. ***
Comment 3 Martin Aeschlimann CLA 2008-05-08 09:10:58 EDT
Bug 188040 suggests a sorting order, but I'm not sure if that's less confusing. Would it be helpful to sort the methods by name?