Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12970

Annotate methods and parameters with @Nullable/@Nonnull

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            octo47 Andrey Stepachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: