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

Summary: I see no "Inline Variable" in "Refactor" menu
Product: java Reporter: yiding_he
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

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 ***