You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2021/04/16 14:24:00 UTC

[jira] [Created] (SLING-10313) Deprecate ResourceResolver.map in favor of ResourceMapper.getMapping()

Joerg Hoh created SLING-10313:
---------------------------------

             Summary: 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


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)