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 82408 - [Rename] Parameter can by renamed to already used name
Summary: [Rename] Parameter can by renamed to already used name
Status: VERIFIED DUPLICATE of bug 76741
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 17:52 UTC by Jiri Prox
Modified: 2007-06-04 10:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2006-08-10 17:52:36 UTC
NetBeans IDE Dev (Build 200608091800)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b03
Linux version 2.6.5-1.358 running on i386
en_US (nb); UTF-8

It's possible to rename method parameter to already used identifier. 

Steps to reproduce:
1) have a method:
public void metoda(Object param1, Object ... param2) {
}

2) place caret on param1 
3) call Refactoring | Rename
4) rename param1 to param2
Comment 1 Jan Becicka 2006-11-22 13:39:42 UTC

*** This issue has been marked as a duplicate of 76741 ***
Comment 2 Jiri Prox 2006-12-01 16:46:38 UTC
I'm not sure if this is duplicate of issue 76741. This issue is about not
performing check when renaming methods parameter. The other one concerns
problems with renaming local variables
Comment 3 Jiri Prox 2007-06-04 10:12:50 UTC
v.