You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/07/15 02:19:10 UTC
[GitHub] vikasprabhakar opened a new pull request #635: [NetBeans-1019]False
positive of "Null Pointer Dereference" when passing a lambda with a null
possible result to a non-null argument
vikasprabhakar opened a new pull request #635: [NetBeans-1019]False positive of "Null Pointer Dereference" when passing a lambda with a null possible result to a non-null argument
URL: https://github.com/apache/incubator-netbeans/pull/635
Jira Id : https://issues.apache.org/jira/browse/NETBEANS-1019
Issues: False positive of "Null Pointer Dereference" when passing a lambda with a null possible result to a non-null argument
private void func(@NonNull Function<Object, Object> func){
}
@CheckForNull
private Object foo(){
return null;
}
private void bar(){
func(item->foo());//false positive
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists