Bug 211779 - [search] better name for SUPERTYPE_TYPE_REFERENCE?
Summary: [search] better name for SUPERTYPE_TYPE_REFERENCE?
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-03 11:28 EST by Martin Aeschlimann CLA
Modified: 2007-12-12 09:47 EST (History)
1 user (show)

See Also:


Attachments
Proposed patch (22.94 KB, patch)
2007-12-04 17:32 EST, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2007-12-03 11:28:10 EST
20071203

IJavaSearchConstants has two constants

SUPERTYPE_TYPE_REFERENCE and
SUPERINTERFACE_TYPE_REFERENCE

It would probably more precise to call the first one 
SUPERCLASS_TYPE_REFERENCE

as one could argue that super interfaces are also super types.

To simplify, I would suggest to merge the two in one constant. It's clear from the type of the type (class/interface...) where it can appear.

-> SUPERTYPE_TYPE_REFERENCE
Comment 1 Frederic Fusier CLA 2007-12-04 17:32:10 EST
Created attachment 84462 [details]
Proposed patch

Also includes fix for bug 211781
Comment 2 Frederic Fusier CLA 2007-12-05 07:43:52 EST
Released for 3.4M4 in HEAD stream.
Comment 3 David Audel CLA 2007-12-12 09:47:26 EST
Verified for 3.4M4 using build I20071210-1800.