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 189538 - I see no "Inline Variable" in "Refactor" menu
Summary: I see no "Inline Variable" in "Refactor" menu
Status: RESOLVED DUPLICATE of bug 126168
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 08:48 UTC by yiding_he
Modified: 2010-10-01 09:55 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yiding_he 2010-08-16 08:48:29 UTC
I see no "Inline Variable" in "Refactor" menu. I think it is very useful and should be implemented. This refactoring function transmits code like this:

    int id = nextId();
    record.setId(id);

into code like this:

    records.setId(nextId());

when you inline variable "id".
Comment 1 yiding_he 2010-09-03 02:20:02 UTC
sorry, it should be:
    record.setId(nextId());
Comment 2 Jan Lahoda 2010-10-01 09:55:47 UTC
Already reported as enh #126168, thanks for the report anyway.

*** This bug has been marked as a duplicate of bug 126168 ***