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.
Inline refactor fails in following code: public int power(int x) { return x; } public void m() { int a = 1; int b = power(a); } steps to reproduce: 1) put cursor over 'power' method 2) call inline refactor -> warning message is shown: 'Cannot inline this method, a already used.' Product Version: NetBeans IDE Dev (Build 20111012-05e37e2ddf6f) Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) User directory: C:\Users\jprox\.netbeans\dev Cache directory: C:\Users\jprox\.netbeans\dev\var\cache
Changeset: 8c8c56a1fd05 Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2011-10-19 11:36 Message: Issue #203914 - [inline] Cannot inline this method, a already used.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/8c8c56a1fd05 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #203914 - [inline] Cannot inline this method, a already used.
v.