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

Summary: Change Method Parameters - delete parameter - doew not refactor
Product: java Reporter: devon_c_miller <devon_c_miller>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Sample source to demonstrate 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 ***