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.
Assign Return Value To New Variable hints does not respect 'Show As' settings made inside Options dialog. Steps to reproduce: ------------------- 1) Have following code: public int add(int a, int b) { return a + b; } public void foo() { add(1,2); } 2) Invoke Tools|Options|Java Code|Hints|General|Assign Return Value to new Variable 3) Change 'Show As' combo to 'Warning' and confirm OD => No warning shown => Note that with default 'Show As' setting, the warning is displayed only when carret is inside method call (ie. not whole current line of code) --- Product Version: NetBeans IDE Dev (Build 070710) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Linux version 2.6.12-1.1390_FC4smp running on i386; UTF-8; en_US (nb) Userdir: /home/ms159439/.netbeans/dev
later.
NetBeans.org Migration: changing resolution from LATER to WONTFIX