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.
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".
sorry, it should be: record.setId(nextId());
Already reported as enh #126168, thanks for the report anyway. *** This bug has been marked as a duplicate of bug 126168 ***