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

Bug 142457

Summary: [quick fix] 'Add cast to' inconsistent wording
Product: [Eclipse Project] JDT Reporter: Benno Baumgartner <benno.baumgartner>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: minor    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Benno Baumgartner CLA 2006-05-18 05:49:08 EDT
I20060512-1600

Given:
if (o instanceof String) {
	o.charAt(0);
	String s= o;
}

Code has to errors. 
1. Go to first error
2. Press Ctrl+1
Is:
  'Add cast to 'o''
3. Go to second error
4. Press Ctrl+1
Is:
  'Add cast to 'String''

Not sure why this should be any different. I propose to use:
'Cast 'o' to 'String'' in both cases.
Comment 1 Eclipse Genie CLA 2019-12-12 15:27:41 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.