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 248965 - Indicate proper severity for suggestions
Summary: Indicate proper severity for suggestions
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-28 05:33 UTC by _ gtzabari
Modified: 2015-10-02 14:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2014-11-28 05:33:35 UTC
Product Version: NetBeans IDE Dev (Build 201411240001)
Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

If the source compiler version is 1.8 and the file contains a for-each loop, Netbeans adds a hint "Can use functional operations" on the line containing the for-each loop.

I don't mind the hint offering this transforming, but the presence of this hint is causing the file to get marked with a yellow annotation indicates it contains warnings. I don't think this hint should be treated as a warning.
Comment 1 Svata Dedic 2014-12-01 12:40:33 UTC
Possibly related to other hints, too.
Comment 2 Svata Dedic 2015-10-02 14:52:34 UTC
Suggestions must be reviewed