jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Root.getTree(String)
Date Thu, 06 Sep 2012 12:53:29 GMT


On 6.9.12 13:50, Michael Dürig wrote:
>
> Hi,¨
>
> On 6.9.12 13:29, Marcel Reutegger wrote:
>> the method Root.getTree(String) does not specify any restrictions for
>> the passed path string (relative, absolute?).
>
> This has come up before. See
> https://issues.apache.org/jira/browse/OAK-221. The Oak core API is only
> concerned with absolute paths. Maybe we should make this more explicit
> in the Javadoc.

Ermm, that was the case before TreeLocation was introduced. The latter 
actually can handle relative paths. So I think its best to document all 
paths used in Root as absolute.

Michael

>
> Michael

Mime
View raw message