Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-37

Use nullability annotation to enforce/document API contract

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • core, jcr
    • None

    Description

      In a discussion about exception handling on the dev list [1] Julian brough up the idea of using nullability annotations in APIs. I think we should decide on which one to use and start using them whereever apropriate.

      Attachments

        1. nullability.patch
          8 kB
          Julian Reschke
        2. nullability.patch
          8 kB
          Julian Reschke

        Issue Links

          Activity

            People

              reschke Julian Reschke
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: