[ 
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)

Reply via email to