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/16 08:47:48 UTC

[sling-whiteboard] branch master updated: Update Features service javadoc

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 4800841  Update Features service javadoc
4800841 is described below

commit 4800841324211e823a8b04fbbba762679cc3e15d
Author: David Bosschaert <da...@gmail.com>
AuthorDate: Mon Jul 16 09:47:32 2018 +0100

    Update Features service javadoc
---
 .../src/main/java/org/apache/sling/feature/service/Features.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/Features.java b/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/Features.java
index 254f4c7..0fe5eb6 100644
--- a/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/Features.java
+++ b/featuremodel/feature-service/src/main/java/org/apache/sling/feature/service/Features.java
@@ -32,8 +32,10 @@ public interface Features {
      * @param ver The version of the bundle.
      * @return The set of Feature IDs in the Maven ID syntax of the features
      * that the bundle belongs to. A bundle can belong to more than one
-     * feature. If a bundle is not part of a feature then the returned set
-     * must contain a {@code null} value to represent this.
+     * feature. If a bundle is not part of a feature then this method
+     * can return {@code null}, and empty set or the value {@code null}
+     * as part of a set if the bundle is present both inside as well as
+     * outside of a feature.
      */
     Set<String> getFeaturesForBundle(String bsn, Version ver);
 }