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 91416 - Renaming parameter/field in method removes all lines with such field
Summary: Renaming parameter/field in method removes all lines with such field
Status: CLOSED DUPLICATE of bug 91101
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-21 14:05 UTC by Marian Mirilovic
Modified: 2007-01-17 10:09 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 Marian Mirilovic 2006-12-21 14:05:42 UTC
NB Dev (200612201900), JDK 6.0

Steps to reproduce:
- run IDE
- create new project, add following code into the Main.java 
-------------------
    public static int getInt(Integer integer){
        int i = integer.intValue();
        return i;
    }
-------------------
- invoke Refactor | Rename on "integer" paramater
- change the name "intg"
-> following code is generated
-------------------
    public static int getInt(Integer intg){
        return i;
    }
-------------------
Comment 1 Pavel Flaska 2006-12-21 15:48:23 UTC
Gen issue.
Comment 2 Pavel Flaska 2006-12-21 15:50:33 UTC
Similar problems reported in #91101. It has been fixed today.


*** This issue has been marked as a duplicate of 91101 ***
Comment 3 Marian Mirilovic 2006-12-21 22:21:58 UTC
verified duplicate