[
https://issues.apache.org/jira/browse/NETBEANS-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gaurav Gupta updated NETBEANS-1480:
-----------------------------------
Attachment: NonNull1.png
> NetBeans shows NPE warning even after nonNull check
> ---------------------------------------------------
>
> Key: NETBEANS-1480
> URL: https://issues.apache.org/jira/browse/NETBEANS-1480
> Project: NetBeans
> Issue Type: Bug
> Reporter: Gaurav Gupta
> Priority: Major
> Attachments: NonNull1.png
>
>
> NetBeans shows warning "Dereferencing possible null pointer" even
> "java.util.Objects.nonNull" check is applied in the 'If' condition.
> If condition is replaced with "var != null" then no warning are shown.
>
>
--
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