You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2008/01/09 10:38:34 UTC

[jira] Updated: (SLING-146) Replace Resource.getURI() by Resource.getPath()

     [ https://issues.apache.org/jira/browse/SLING-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-146:
-----------------------------------

    Assignee: Carsten Ziegeler  (was: Felix Meschberger)

> Replace Resource.getURI() by Resource.getPath()
> -----------------------------------------------
>
>                 Key: SLING-146
>                 URL: https://issues.apache.org/jira/browse/SLING-146
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>            Reporter: Felix Meschberger
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>
> Once upon a time while developping the Resource interface we found that the resource "path" would not necessairily be just a path but may be a URI. In the meantime the Resource interface evolved into the current state with the adaptTo method allowing different views of a resource. On the other hand, the ResourceResolver interface has getter methods for
> resources based on just a path.
> So, I think, it would probably be better and cleaner to rename the getURI() method to getPath() because this is what this method actually returns.
> Will be implemented as discussed on the list at http://www.mail-archive.com/sling-dev@incubator.apache.org/msg01277.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.