You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2018/07/09 15:17:02 UTC

[sling-whiteboard] branch master updated: Make FeatureServiceImpl ctors public so it can be created by the launcher

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

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


The following commit(s) were added to refs/heads/master by this push:
     new d51c624  Make FeatureServiceImpl ctors public so it can be created by the launcher
d51c624 is described below

commit d51c6241ea6e22a01725fcee3fbb927b07acce4a
Author: David Bosschaert <da...@gmail.com>
AuthorDate: Mon Jul 9 16:16:30 2018 +0100

    Make FeatureServiceImpl ctors public so it can be created by the launcher
---
 .../org/apache/sling/feature/service/impl/FeatureServiceImpl.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/impl/FeatureServiceImpl.java b/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/impl/FeatureServiceImpl.java
index eca88d5..f0fa389 100644
--- a/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/impl/FeatureServiceImpl.java
+++ b/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/impl/FeatureServiceImpl.java
@@ -27,11 +27,11 @@ import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
 
-class FeatureServiceImpl implements Features {
+public class FeatureServiceImpl implements Features {
     private final Set<String> features;
     private final Map<Long, String> bundleFeatureMap;
 
-    FeatureServiceImpl(Map<Long, String> bundleIDFeatures) {
+    public FeatureServiceImpl(Map<Long, String> bundleIDFeatures) {
         Map<Long, String> bfm = new HashMap<>(bundleIDFeatures);
         bundleFeatureMap = Collections.unmodifiableMap(bfm);