This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134540 - Change Method Parameters - delete parameter - doew not refactor
Summary: Change Method Parameters - delete parameter - doew not refactor
Status: RESOLVED DUPLICATE of bug 131928
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-05 17:41 UTC by devon_c_miller
Modified: 2008-05-06 09:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample source to demonstrate bug (811 bytes, application/x-compressed)
2008-05-05 17:45 UTC, devon_c_miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description devon_c_miller 2008-05-05 17:41:12 UTC
Change Method Parameter is not symmetric.

Given a class (Class1) that defines a method (method) and a second class (Class2) that calls the method:

Adding a new parameter (Name:aBoolean, Type:boolean, Default Value:false) changes Class1.java (the definition) and
Class2.java (the use of the method).

Removing the "aBoolean" parameter from Class1.method removes it from the definition, but does not correct the use.

Attaching sample
Comment 1 devon_c_miller 2008-05-05 17:45:58 UTC
Created attachment 61051 [details]
Sample source to demonstrate bug
Comment 2 Jiri Prox 2008-05-06 09:45:24 UTC
this bug is already fixed, thanks for your report


*** This issue has been marked as a duplicate of 131928 ***