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:09 UTC

[sling-org-apache-sling-scripting-sightly-js-provider] 12/18: SLING-4419 - [Regression] Sling Models cannot be used with Sightly Java Use-API

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

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

commit c85c1bb45fb1a7d19c3280c0a70c7120121bab5a
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Feb 13 11:40:30 2015 +0000

    SLING-4419 - [Regression] Sling Models cannot be used with Sightly Java Use-API
    
    * merged PojoUseProvider with ClassUseProvider into JavaUseProvider which first tries to adapt the object to
    Resource / SlingHttpServletRequest, then tries to load the object as a POJO from the repository
    * provided IT for the Sling specific Use-API implementation
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/sightly/js-use-provider@1659520 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java b/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java
index 665ff4e..35cc70d 100644
--- a/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java
+++ b/src/main/java/org/apache/sling/scripting/sightly/js/impl/JsUseProvider.java
@@ -61,7 +61,7 @@ import org.slf4j.LoggerFactory;
                 label = "Service Ranking",
                 description = "The Service Ranking value acts as the priority with which this Use Provider is queried to return an " +
                         "Use-object. A higher value represents a higher priority.",
-                intValue = 90,
+                intValue = 80,
                 propertyPrivate = false
         )
 })

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