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 - Hint: Assign return value to new field
Summary: Hint: Assign return value to new field
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 3 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 232306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-03-16 21:56 UTC by markiewb
Modified: 2013-09-02 14:24 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Shows the currently available hint (3.36 KB, image/png)
2013-03-16 21:56 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***