You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/05/20 05:01:00 UTC

[jira] [Closed] (SLING-10779) ContentPackage2FeatureModelConverter.getAclManager should never return null

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

Carsten Ziegeler closed SLING-10779.
------------------------------------

> ContentPackage2FeatureModelConverter.getAclManager should never return null
> ---------------------------------------------------------------------------
>
>                 Key: SLING-10779
>                 URL: https://issues.apache.org/jira/browse/SLING-10779
>             Project: Sling
>          Issue Type: Improvement
>          Components: Content-Package to Feature Model Converter
>            Reporter: Angela Schreiber
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: Content-Package to Feature Model Converter 1.1.16
>
>
> {{ContentPackage2FeatureModelConverter.getAclManager}} is used across the converter code base and always expected to be not-null. so, instead of defining it as 'nullable' we should find ways to make sure it is always present on the converter. this would allow to get rid of Objects.requireNotNull and the warnings about potential NPE where the check is missing.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)