You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Reema Taneja (JIRA)" <ji...@apache.org> on 2018/04/19 09:32:00 UTC

[jira] [Closed] (NETBEANS-695) 'Use diamond operator' should not be displayed for var type variable declaration

     [ https://issues.apache.org/jira/browse/NETBEANS-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reema Taneja closed NETBEANS-695.
---------------------------------
    Resolution: Fixed

Already fixed : https://issues.apache.org/jira/browse/NETBEANS-480

> '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
>            Priority: Minor
>              Labels: JDK10-LVTI
>
> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists