[
https://issues.apache.org/jira/browse/SLING-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17323901#comment-17323901
]
Carsten Ziegeler commented on SLING-10313:
------------------------------------------
I don't think we should deprecate those methods - replacing the calls to map()
with ResourceMapper is an awkward replacement, it requires adaptTo in between.
> Deprecate ResourceResolver.map in favor of ResourceMapper.getMapping()
> ----------------------------------------------------------------------
>
> Key: SLING-10313
> URL: https://issues.apache.org/jira/browse/SLING-10313
> Project: Sling
> Issue Type: Improvement
> Components: API
> Affects Versions: API 2.23.0
> Reporter: Joerg Hoh
> Priority: Major
>
> For some time we have the RessourceMapper interface, which claims to replace
> and improve the {{resourceResolver.map()}} methods.
> We should deprecate both methods in the ResourceResolver and recommend to use
> the ResourceMapper instead.
> (The iResourceResolverImpl is already using the ResourceMapper.)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)