You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2019/06/11 13:46:13 UTC
[sling-org-apache-sling-feature] branch master updated: SLING-8421:
Allow artifact providers that work with URL - correct javadoc
This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git
The following commit(s) were added to refs/heads/master by this push:
new d7893a9 SLING-8421: Allow artifact providers that work with URL - correct javadoc
d7893a9 is described below
commit d7893a9b072d2fd038a05b820bc7e15515d2f2c0
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Jun 11 15:45:59 2019 +0200
SLING-8421: Allow artifact providers that work with URL - correct javadoc
---
src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java b/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java
index 271c676..f8f1e9b 100644
--- a/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java
+++ b/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java
@@ -22,15 +22,16 @@ import org.apache.sling.feature.ArtifactId;
import org.osgi.annotation.versioning.ConsumerType;
/**
- * The artifact provider provides a file for an artifact.
+ * The artifact provider provides a URL for an artifact.
*/
@ConsumerType
public interface ArtifactProvider {
/**
* Provide the artifact with the given id.
+ *
* @param id The artifact id
- * @return The file or {@code null}
+ * @return The URL or {@code null}
*/
URL provide(ArtifactId id);
}