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.
EXample: class Test { public static void main(String[] args) throws Exception { // some code here, followed by a blank line System.currentTimeMillis(); } } Performing "Assign Return Value To New Variable" on the currentTimeMillis() call results in: class Test { public static void main(String[] args) throws Exception { // some code here, followed by a blank line long currentTimeMillis = System.currentTimeMillis(); } } Product Version: NetBeans IDE Dev (Build 200810181401) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Reproducible, but not so serious IMHO
This will be resolved LATER.
NetBeans.org Migration: changing resolution from LATER to WONTFIX
Still applies in 6.9.
*** Bug 198230 has been marked as a duplicate of this bug. ***
Not serious, but annoying...
Other "Assign Return Value To New Variable" bugs: http://netbeans.org/bugzilla/buglist.cgi?quicksearch=Assign+Return+Value+To+New+Variable
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss
Still reproducable in current dev build.