You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (Jira)" <ji...@apache.org> on 2022/10/27 15:43:00 UTC

[jira] [Updated] (SLING-10008) Add null annotations to package org.apache.sling.discovery (Discovery API)

     [ https://issues.apache.org/jira/browse/SLING-10008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Egli updated SLING-10008:
--------------------------------
    Fix Version/s: Discovery Oak 1.2.44

> Add null annotations to package org.apache.sling.discovery (Discovery API)
> --------------------------------------------------------------------------
>
>                 Key: SLING-10008
>                 URL: https://issues.apache.org/jira/browse/SLING-10008
>             Project: Sling
>          Issue Type: Improvement
>          Components: Discovery
>            Reporter: Konrad Windszus
>            Priority: Major
>             Fix For: Discovery Oak 1.2.44
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)