sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1747529 - /sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java
Date Thu, 09 Jun 2016 10:25:58 GMT
Author: asanso
Date: Thu Jun  9 10:25:58 2016
New Revision: 1747529

URL: http://svn.apache.org/viewvc?rev=1747529&view=rev
Log:
SLING-5772 - Wrong Java Doc in Adaption.class for usage sample

Modified:
    sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java

Modified: sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java?rev=1747529&r1=1747528&r2=1747529&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java
(original)
+++ sling/trunk/bundles/extensions/adapter/src/main/java/org/apache/sling/adapter/Adaption.java
Thu Jun  9 10:25:58 2016
@@ -29,7 +29,7 @@ package org.apache.sling.adapter;
  * <p>
  * 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>@Reference(referenceInterface=Adaption.class,target="(&(adaptables=com.myco.MyClass)(adapters=org.apache.sling.api.Resource))",
name = "ignore", strategy = ReferenceStrategy.LOOKUP)</code>
  *
  */
 public interface Adaption {



Mime
View raw message