Bug 44430 - [introduce parameter] leads to unused parameters
Summary: [introduce parameter] leads to unused parameters
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 09:46 EDT by Dani Megert CLA
Modified: 2006-06-09 11:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2003-10-08 09:46:14 EDT
I20031008

1. select an expression and introduce a param for it
2. select the param and introduce a param for it
==> you end up with an unused param (the first one)

==> the refactoring should check whether the new code results in unused
parameters and either remove them or ask the user (2nd page) whether to remove them.
Comment 1 Markus Keller CLA 2004-05-18 05:42:20 EDT
Probably not for 3.0.
The workaround is to use Change Method Signature to rename a parameter.