Martin Schulze created SLING-12827: -------------------------------------- Summary: 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
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)