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 09:37:03 UTC
[sling-org-apache-sling-fsresource] 12/15: SLING-6364 rename config
property back to provider.root because this is expected for an resource
provider
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.fsresource-1.2.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-fsresource.git
commit c2b7f0ccceef521435b6724b0db33e180b95205c
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Tue Dec 6 23:02:24 2016 +0000
SLING-6364 rename config property back to provider.root because this is expected for an resource provider
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/fsresource@1772994 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/fsprovider/internal/FsResourceProvider.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
index ef49b77..b952668 100644
--- a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
+++ b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
@@ -92,7 +92,7 @@ public class FsResourceProvider extends ResourceProvider<Object> {
@AttributeDefinition(name = "Provider Root",
description = "Location in the virtual resource tree where the " +
"filesystem resources are mapped in. This property must not be an empty string.")
- String provider_roots();
+ String provider_root();
}
// The location in the resource tree where the resources are mapped
@@ -215,7 +215,7 @@ public class FsResourceProvider extends ResourceProvider<Object> {
// ---------- SCR Integration
@Activate
protected void activate(BundleContext bundleContext, final Config config) {
- String providerRoot = config.provider_roots();
+ String providerRoot = config.provider_root();
if (providerRoot == null || providerRoot.length() == 0) {
throw new IllegalArgumentException("provider.root property must be set");
}
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.