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/28 11:26:57 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Sanso closed SLING-5772.
--------------------------------

> 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
>             Fix For: Adapter 2.1.8
>
>
> 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)