Bug 328203 - [quick fix] The "parameter is never read" quick fix doesn't use "Change Method Signature" intelligence
Summary: [quick fix] The "parameter is never read" quick fix doesn't use "Change Metho...
Status: CLOSED DUPLICATE of bug 160212
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 23:16 EDT by Glenview Jeff CLA
Modified: 2010-12-06 06:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glenview Jeff CLA 2010-10-19 23:16:46 EDT
Build Identifier: M20090917-0800

The "parameter is never read" quick fix doesn't use "Change Method Signature" intelligence.  

If I fix the warning by using the refactor "change method signature," all the calls to the method are appropriately changed to remove the parameter from the call.  On the other hand, if I use the quick fix, only the method signature changes, not the callers.


Reproducible: Always

Steps to Reproduce:
1. Enable warnings for unused parameters.
2. Create an extra unused parameter on a method.
3. Hit control-1 to open quick fix menu and select remove unused parameter.
4. Note that callers are not updated and cause compile error.
Comment 1 Ayushman Jain CLA 2010-10-20 01:15:22 EDT
Moving to JDT/UI.
Comment 2 Dani Megert CLA 2010-12-06 06:50:14 EST

*** This bug has been marked as a duplicate of bug 160212 ***