You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/01/26 15:37:39 UTC

[jira] [Created] (SLING-5455) Add helper class to construct valid paths

Robert Munteanu created SLING-5455:
--------------------------------------

             Summary: Add helper class to construct valid paths
                 Key: SLING-5455
                 URL: https://issues.apache.org/jira/browse/SLING-5455
             Project: Sling
          Issue Type: New Feature
          Components: API
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
            Priority: Minor
             Fix For: API 2.10.0


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)