You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/23 20:03:00 UTC

[jira] [Resolved] (HBASE-12970) Annotate methods and parameters with @Nullable/@Nonnull

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

Andrew Kyle Purtell resolved HBASE-12970.
-----------------------------------------
    Resolution: Not A Problem

> Annotate methods and parameters with @Nullable/@Nonnull
> -------------------------------------------------------
>
>                 Key: HBASE-12970
>                 URL: https://issues.apache.org/jira/browse/HBASE-12970
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Andrey Stepachev
>            Priority: Minor
>
> We have many bugs with NPE. But current IDE allows us to see that null is possible as return value. findbugs can handle that too.
> So we need to:
> 1. annotate methods with null/nonnull
> 2. force annotation of interfaces (and even better - classes) with @Nullable/@Nonnull annotations



--
This message was sent by Atlassian Jira
(v8.20.7#820007)