Jackrabbit Oak
  1. Jackrabbit Oak
  2. OAK-37

Use nullability annotation to enforce/document API contract

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: core, jcr
    • Labels:
      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.

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

        Issue Links

          Activity

          Konrad Windszus made changes -
          Link This issue is related to SLING-4377 [ SLING-4377 ]
          Jukka Zitting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Michael Dürig made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 0.7 [ 12323981 ]
          Resolution Fixed [ 1 ]
          Stefan Guggisberg made changes -
          Component/s mk [ 12317814 ]
          Julian Reschke made changes -
          Attachment nullability.patch [ 12527643 ]
          Julian Reschke made changes -
          Attachment nullability.patch [ 12527638 ]
          Julian Reschke made changes -
          Attachment nullability.patch [ 12527637 ]
          Julian Reschke made changes -
          Attachment nullability.patch [ 12527637 ]
          Julian Reschke made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Julian Reschke made changes -
          Field Original Value New Value
          Assignee Julian Reschke [ reschke ]
          Michael Dürig created issue -

            People

            • Assignee:
              Julian Reschke
              Reporter:
              Michael Dürig
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development