Author: kwin
Date: Thu Jan 21 18:07:39 2016
New Revision: 1726044
URL: http://svn.apache.org/viewvc?rev=1726044&view=rev
Log:
SLING-4734 fix javadoc for the adjusted order of adaptations
Modified:
sling/trunk/bundles/scripting/sightly/models-use-provider/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
Modified:
sling/trunk/bundles/scripting/sightly/models-use-provider/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
URL:
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/sightly/models-use-provider/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java?rev=1726044&r1=1726043&r2=1726044&view=diff
==============================================================================
---
sling/trunk/bundles/scripting/sightly/models-use-provider/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
(original)
+++
sling/trunk/bundles/scripting/sightly/models-use-provider/src/main/java/org/apache/sling/scripting/sightly/models/impl/SlingModelsUseProvider.java
Thu Jan 21 18:07:39 2016
@@ -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>