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

Bug 328203

Summary: [quick fix] The "parameter is never read" quick fix doesn't use "Change Method Signature" intelligence
Product: [Eclipse Project] JDT Reporter: Glenview Jeff <junk>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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 ***