[ https://issues.apache.org/jira/browse/SLING-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-146. ---------------------------------- Resolution: Fixed > 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.