sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-scripting-sightly-models-provider] 18/37: fix typo
Date Wed, 18 Oct 2017 23:22:39 GMT
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-scripting-sightly-models-provider.git

commit 7aa528ba2aa696791cfc61dc641f3e0188284fca
Author: Konrad Windszus <kwin@apache.org>
AuthorDate: Fri May 13 07:45:09 2016 +0000

    fix typo
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1743612 13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/scripting/sightly/models/impl/SlingModelsUseProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 0ca99a1..6a5aa17 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
@@ -131,7 +131,7 @@ public class SlingModelsUseProvider implements UseProvider {
                 return ProviderOutcome.failure(new IllegalStateException("Could not get resource
from bindings."));
             }
             if (modelFactory.canCreateFromAdaptable(resource, cls)) {
-                LOGGER.debug("Trying to instantiate class {} as Sling Model from request.",
cls);
+                LOGGER.debug("Trying to instantiate class {} as Sling Model from resource.",
cls);
                 return ProviderOutcome.notNullOrFailure(modelFactory.createModel(resource,
cls));
             }
             return ProviderOutcome.failure(

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

Mime
View raw message