Reema Taneja created NETBEANS-695:
-------------------------------------
Summary: 'Use diamond operator' should not be displayed for var
type variable declaration
Key: NETBEANS-695
URL: https://issues.apache.org/jira/browse/NETBEANS-695
Project: NetBeans
Issue Type: Improvement
Reporter: Reema Taneja
Assignee: Reema Taneja
Use diamond operator hint shows for:
var n = new ArrayList<String>();
It shouldn't be displayed as this coverts statement to
var n = new ArrayList<>();
In this stmt param type information is lost, is equivalent to var n = new
ArrayList<Object>(), i.e. different from original statement.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists