Angela Schreiber created SLING-10779:
----------------------------------------

             Summary: 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


{{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.3.4#803005)

Reply via email to