[ https://issues.apache.org/jira/browse/SLING-12827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17973506#comment-17973506 ]
Martin Schulze commented on SLING-12827: ---------------------------------------- PR: https://github.com/apache/sling-org-apache-sling-adapter/pull/6 > Sample in Adaption.java is wrong/outdated > ----------------------------------------- > > Key: SLING-12827 > URL: https://issues.apache.org/jira/browse/SLING-12827 > Project: Sling > Issue Type: Bug > Components: Samples > Reporter: Martin Schulze > Priority: Minor > > https://github.com/apache/sling-org-apache-sling-adapter/blob/master/src/main/java/org/apache/sling/adapter/Adaption.java#L32 > - _adapters_ and _adaptables_ should be reversed > - strategy should be ported ReferencePolicy.STATIC? > - org.apache.sling.api.Resource -> org.apache.sling.api.resource.Resource -- This message was sent by Atlassian Jira (v8.20.10#820010)