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/10/28 04:44:00 UTC

[jira] [Created] (SLING-10894) Allow null for SlingUriBuilder.setSelectors

Carsten Ziegeler created SLING-10894:
----------------------------------------

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