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

Add helper class to construct valid paths

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • API 2.11.0
    • Extensions
    • None

    Description

      When working with paths it's easy to combine two valid paths into an invalid one. For instance

      • '/parent/' + '/child' -> '/parent//child'
      • '/parent' + 'child' -> '/parentchild'

      We should add a simple helper class which allows to build paths, with a fluent syntax.

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: