You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (JIRA)" <ji...@apache.org> on 2016/06/09 10:25:21 UTC

[jira] [Created] (SLING-5772) Wrong Java Doc in Adaption.class for usage sample

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)