hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Stepachev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12970) Annotate methods and parameters with @Nullable/@Nonnull
Date Wed, 04 Feb 2015 11:24:34 GMT
Andrey Stepachev created HBASE-12970:

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

View raw message