Bug 85703 - Make Signature.CLASS_TYPE_SIGNATURE final
Summary: Make Signature.CLASS_TYPE_SIGNATURE final
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-17 10:05 EST by Martin Aeschlimann CLA
Modified: 2005-03-30 17:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-02-17 10:05:01 EST
20050217
Signature.getTypeSignatureKind return the following constants:
	public static int CLASS_TYPE_SIGNATURE = 1;
	public static int BASE_TYPE_SIGNATURE = 2;
	public static int TYPE_VARIABLE_SIGNATURE = 3;
	public static int ARRAY_TYPE_SIGNATURE = 4;

Making them final would allow to use them in a switch statement.
Comment 1 Olivier Thomann CLA 2005-02-17 11:35:06 EST
This would indeed make sense if they are API and the value cannot be changed.
Comment 2 Olivier Thomann CLA 2005-02-22 10:24:57 EST
Fix and released in HEAD.
Comment 3 Olivier Thomann CLA 2005-02-22 10:28:34 EST
Fixed.
Comment 4 Olivier Thomann CLA 2005-03-30 17:00:47 EST
Verified in I20050330-0500