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

Bug 332271

Summary: [quick assist] Use ()+ icon for quick assists which add parentheses around expressions
Product: [Eclipse Project] JDT Reporter: Deepak Azad <deepakazad>
Component: UIAssignee: Deepak Azad <deepakazad>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, markus.kell.r
Version: 3.7   
Target Milestone: 3.7 M5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix none

Description Deepak Azad CLA 2010-12-10 01:15:52 EST
Created attachment 184920 [details]
fix

I found three, which do not use this icon
- Add paranoiac parenthesis for conditions
- Put 'instanceof' in parentheses
- Put 'instanceof' in parentheses

Is there a reason for not doing this ?

(Note: JavaPluginImages.IMG_CORRECTION_CAST is not a great name for this icon but I have not changed this for now)
Comment 1 Deepak Azad CLA 2010-12-15 02:11:35 EST
Fixed in HEAD

The list in comment 0 should have read
- Add paranoiac parenthesis for conditions
- Put 'instanceof' in parentheses
- Put expression in parentheses