Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10008

Add null annotations to package org.apache.sling.discovery (Discovery API)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Discovery Oak 1.2.46
    • Discovery
    • None

    Description

      In https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2492 and https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2498 there were potential NPEs uncovered. To prevent consumers from running into those the Null annotations (https://sling.apache.org/documentation/development/null-analysis.html) should be added to the relevant classes there as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwin Konrad Windszus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: