You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:11:52 UTC

[sling-org-apache-sling-scripting-sightly-models-provider] 03/13: SLING-4734 fix javadoc for the adjusted order of adaptations

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

rombert pushed a commit to annotated tag org.apache.sling.scripting.sightly.models.provider-1.0.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-sightly-models-provider.git

commit 81d08b195ae33160a566d61ed1cba2f2e3812645
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Jan 21 18:07:39 2016 +0000

    SLING-4734 fix javadoc for the adjusted order of adaptations
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/scripting/sightly/models-use-provider@1726044 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
index 01a387d..78f5667 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
@@ -44,8 +44,8 @@ import org.slf4j.LoggerFactory;
  * Sightly {@link UseProvider} which will instantiate a referenced Sling Model.
  * </p>
  * <p>
- * For that it tries to use the {@link ModelFactory#createModel(Object, Class)} first with the adaptable {@link Resource}
- * then with the adaptable {@link SlingHttpServletRequest}. It will always fail with an exception (i.e. no other {@code UseProvider} is
+ * For that it tries to use the {@link ModelFactory#createModel(Object, Class)} first with the adaptable {@link SlingHttpServletRequest}
+ * then with the adaptable {@link Resource}. It will always fail with an exception (i.e. no other {@code UseProvider} is
  * asked afterwards and the exception is being rethrown) in case the following two preconditions are fulfilled:
  * </p>
  * <ol>

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.