Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 211621

Summary: [Forms] FormText::getSelectedLinkHref() returns an Object instead of a String
Product: [Eclipse Project] Platform Reporter: Benjamin Cabé <contact>
Component: User AssistanceAssignee: Adam Archer <agarcher>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: dejan
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 209487    
Attachments:
Description Flags
Trivial patch of that bug :-) none

Description Benjamin Cabé CLA 2007-11-30 13:33:02 EST
All is in the summary.
I don't think there's any good reason not to replace the Object return value for a String one.
Comment 1 Benjamin Cabé CLA 2007-11-30 13:34:19 EST
Created attachment 84212 [details]
Trivial patch of that bug :-)
Comment 2 Adam Archer CLA 2007-11-30 14:03:51 EST
Benjamin, while this may seem trivial (and very odd), the method signature is API and, sadly, cannot just be changed. You will need to cast the result to a String yourself.

Closing as WONTFIX.