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 227560

Summary: Hint: Assign return value to new field
Product: java Reporter: markiewb
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal CC: misterm
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Shows the currently available hint

Description markiewb 2013-03-16 21:56:44 UTC
Created attachment 132687 [details]
Shows the currently available hint

<code>
public class NewClass {
    
    public void method() {
	Collections.emptyList(); // quick fix here
    }
}
</code>
Open the hints for the given line. Hints popup is shown...

ACTUAL: 
Hint: Assign return value to new variable

EXPECTED:
Hint: Assign return value to new variable
Hint: Assign return value to new field (NEW)
Comment 1 markiewb 2013-08-27 19:14:40 UTC
*** Bug 232306 has been marked as a duplicate of this bug. ***