This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-adapter.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b4af8e  SLING-12827 Fix sample (#6)
5b4af8e is described below

commit 5b4af8e0525ce01279128742d0a9aa2389562ae5
Author: Martin Schulze <[email protected]>
AuthorDate: Sat Jun 14 21:45:20 2025 +0200

    SLING-12827 Fix sample (#6)
    
    Co-authored-by: Martin Schulze <[email protected]>
---
 src/main/java/org/apache/sling/adapter/Adaption.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/adapter/Adaption.java 
b/src/main/java/org/apache/sling/adapter/Adaption.java
index c279ffb..37fce78 100644
--- a/src/main/java/org/apache/sling/adapter/Adaption.java
+++ b/src/main/java/org/apache/sling/adapter/Adaption.java
@@ -29,7 +29,7 @@ package org.apache.sling.adapter;
  * <p>
  * A usage sample is
  *
- * 
<code>@Reference(referenceInterface=Adaption.class,target="(&amp;(adaptables=com.myco.MyClass)(adapters=org.apache.sling.api.Resource))",
 name = "ignore", strategy = ReferenceStrategy.LOOKUP)</code>
+ * <code>@Reference(referenceInterface=Adaption.class,name = 
"ignore",target="(&amp;(adapters=com.myco.MyClass)(adaptables=org.apache.sling.api.resource.Resource))")</code>
  *
  */
 public interface Adaption {}

Reply via email to