You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2019/06/07 16:28:14 UTC

[sling-org-apache-sling-feature] branch issues/SLING-8421 created (now ba9f0c5)

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

pauls pushed a change to branch issues/SLING-8421
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git.


      at ba9f0c5  SLING-8421: Allow artifact providers that work with URLs instead of Files

This branch includes the following new commits:

     new ba9f0c5  SLING-8421: Allow artifact providers that work with URLs instead of Files

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sling-org-apache-sling-feature] 01/01: SLING-8421: Allow artifact providers that work with URLs instead of Files

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch issues/SLING-8421
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature.git

commit ba9f0c5ce1377d8322646b78de5e07f2dac26029
Author: Karl Pauls <ka...@gmail.com>
AuthorDate: Fri Jun 7 18:28:01 2019 +0200

    SLING-8421: Allow artifact providers that work with URLs instead of Files
---
 src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java | 4 ++--
 1 file changed, 2 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 82c62c4..271c676 100644
--- a/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java
+++ b/src/main/java/org/apache/sling/feature/builder/ArtifactProvider.java
@@ -16,7 +16,7 @@
  */
 package org.apache.sling.feature.builder;
 
-import java.io.File;
+import java.net.URL;
 
 import org.apache.sling.feature.ArtifactId;
 import org.osgi.annotation.versioning.ConsumerType;
@@ -32,5 +32,5 @@ public interface ArtifactProvider {
      * @param id The artifact id
      * @return The file or {@code null}
      */
-    File provide(ArtifactId id);
+    URL provide(ArtifactId id);
 }