[
https://issues.apache.org/jira/browse/SLING-12783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17951262#comment-17951262
]
Dirk Rudolph commented on SLING-12783:
--------------------------------------
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/72
> Allow null return value of DistributionPackageBuilder#createPackage()
> ---------------------------------------------------------------------
>
> Key: SLING-12783
> URL: https://issues.apache.org/jira/browse/SLING-12783
> Project: Sling
> Issue Type: Improvement
> Reporter: Dirk Rudolph
> Priority: Minor
> Fix For: Content Distribution Core 0.7.4
>
>
> The javadoc mentions it already but the method is annotated as NotNull.
> A DistributionPackageBuilder returning {{null}} could be used to signal that
> a certain package is empty to the distribution framework which should drop
> the request in that case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)