Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10894

Allow null for SlingUriBuilder.setSelectors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • API 2.24.0
    • API
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: