On Sep 14, 2010, at 2:28 AM, Felix Meschberger <[email protected]> wrote:

> Hi,
> 
> Am 13.09.2010 21:20, schrieb Justin Edelson (JIRA):
>> ResourceUtil.getParent(String) doesn't handle paths with workspace prefixes
>> ---------------------------------------------------------------------------
>> 
>>                 Key: SLING-1770
>>                 URL: https://issues.apache.org/jira/browse/SLING-1770
>>             Project: Sling
>>          Issue Type: Bug
>>          Components: API
>>            Reporter: Justin Edelson
>>            Assignee: Justin Edelson
>> 
>> 
>> ResourceUtil.getParent("otherwsp:/path") should return "otherwsp:/".
> 
> Good catch.
> 
> Following up to this: what is the parent of "otherwsp:/" ?
> 

Should be null, I'll add a test for this.
> The parent for "/" is null to incidate there is no parent to the root.
> 
> Regards
> Felix
>> 

Reply via email to