Antonio Sanso created SLING-5772: ------------------------------------ Summary: Wrong Java Doc in Adaption.class for usage sample Key: SLING-5772 URL: https://issues.apache.org/jira/browse/SLING-5772 Project: Sling Issue Type: Bug Components: Extensions Reporter: Antonio Sanso Assignee: Antonio Sanso Priority: Trivial
The {{Adaption.class}} has a wrong javadoc {code} * A usage sample is * * <code>@Reference(referenceInterface=Adaptation.class,target="(&(adaptable=com.myco.MyClass)(adaptable=org.apache.sling.api.Resource), name = "ignore", strategy = ReferenceStrategy.LOOKUP)")</code> * */ {code} should rather be {code} * A usage sample is A usage sample is * * <code>@Reference(referenceInterface=Adaption.class,target="(&(adaptables=com.myco.MyClass)(adapters=org.apache.sling.api.Resource))", name = "ignore", strategy = ReferenceStrategy.LOOKUP)</code> * {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)