Bug 492775

Summary: CSSEngine.convert should be genericized
Product: [Eclipse Project] Platform Reporter: Alex Blewitt <alex.blewitt>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.6   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Alex Blewitt CLA 2016-05-01 06:43:58 EDT
The signature in CSSEngine should be genericized in the next release:

	public Object convert(CSSValue value, Object toType, Object context)
			throws Exception;

I think this should be

	public <T> T convert(CSSValue value, Class<T> toType, Object context)
			throws Exception {

or at least this could be added as an alternative method.