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/06/26 12:28:00 UTC

[jira] [Assigned] (NETBEANS-999) Hint to replace explicit type of variable with var should not be a warning.

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

Reema Taneja reassigned NETBEANS-999:
-------------------------------------

    Assignee: Reema Taneja

> Hint to replace explicit type of variable with var should not be a warning.
> ---------------------------------------------------------------------------
>
>                 Key: NETBEANS-999
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-999
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: java - Hints
>    Affects Versions: Next
>            Reporter: Peter Hull
>            Assignee: Reema Taneja
>            Priority: Minor
>         Attachments: N-999.png
>
>
> A new hint has been added to replace explicit types with 'var', and vice versa, for JDK 10. This was described in NETBEANS-479.
> However the Hint is a Warning (lightbulb+yellow triangle) and is shown on every line that could be changed. This is not good because the hint is 'two-way' so even if you accept the fix it shows another warning suggesting to change it back. It should be just a lightbulb like the diamond inference hint, which only appears on the current line.



--
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