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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9b4b6f8  fix typo
     new ce3fabd  Merge branch 'master' of 
[email protected]:apache/sling-org-apache-sling-jcr-resource.git
9b4b6f8 is described below

commit 9b4b6f856a15b80b78b3c93a95244445abd13397
Author: Konrad Windszus <[email protected]>
AuthorDate: Tue Jan 18 10:01:23 2022 +0100

    fix typo
---
 .../sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
 
b/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
index 163ccba..f3520c9 100644
--- 
a/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
+++ 
b/src/main/java/org/apache/sling/jcr/resource/internal/helper/jcr/JcrResourceProvider.java
@@ -90,7 +90,7 @@ public class JcrResourceProvider extends 
ResourceProvider<JcrProviderState> {
     /** Logger */
     private final Logger logger = 
LoggerFactory.getLogger(JcrResourceProvider.class);
 
-    private static final String REPOSITORY_REFERNENCE_NAME = "repository";
+    private static final String REPOSITORY_REFERENCE_NAME = "repository";
 
     private static final Set<String> IGNORED_PROPERTIES = new 
HashSet<String>();
     static {
@@ -100,7 +100,7 @@ public class JcrResourceProvider extends 
ResourceProvider<JcrProviderState> {
         IGNORED_PROPERTIES.add("jcr:createdBy");
     }
 
-    @Reference(name = REPOSITORY_REFERNENCE_NAME, service = 
SlingRepository.class)
+    @Reference(name = REPOSITORY_REFERENCE_NAME, service = 
SlingRepository.class)
     private ServiceReference<SlingRepository> repositoryReference;
 
     /** The JCR listener base configuration. */
@@ -121,7 +121,7 @@ public class JcrResourceProvider extends 
ResourceProvider<JcrProviderState> {
 
     @Activate
     protected void activate(final ComponentContext context) throws 
RepositoryException {
-        SlingRepository repository = 
context.locateService(REPOSITORY_REFERNENCE_NAME,
+        SlingRepository repository = 
context.locateService(REPOSITORY_REFERENCE_NAME,
                 this.repositoryReference);
         if (repository == null) {
             // concurrent unregistration of SlingRepository service

Reply via email to