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 2021/11/12 11:04:00 UTC
[jira] [Closed] (SLING-10894) Allow null for
SlingUriBuilder.setSelectors
[ https://issues.apache.org/jira/browse/SLING-10894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-10894.
------------------------------------
> Allow null for SlingUriBuilder.setSelectors
> -------------------------------------------
>
> Key: SLING-10894
> URL: https://issues.apache.org/jira/browse/SLING-10894
> Project: Sling
> Issue Type: Improvement
> Components: API
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: API 2.24.0
>
>
> setSelectors does currently not allow to pass in null . This requires client code to check for null before calling the builder method and usually breaks the fluent builder pattern.
> We should allow null and treat it as an empty array
--
This message was sent by Atlassian Jira
(v8.20.1#820001)