karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject [10/11] karaf git commit: Import the class
Date Mon, 15 May 2017 13:12:10 GMT
Import the class

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/0326b109
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0326b109
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0326b109

Branch: refs/heads/master
Commit: 0326b1091c1542d01b08fdf7442e6663ca8bb97c
Parents: 7282301
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Mon May 15 14:57:37 2017 +0200
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Mon May 15 14:57:37 2017 +0200

----------------------------------------------------------------------
 .../apache/karaf/features/internal/service/RepositoryImpl.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/0326b109/features/core/src/main/java/org/apache/karaf/features/internal/service/RepositoryImpl.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/RepositoryImpl.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/RepositoryImpl.java
index 0cd0407..20cbd36 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/RepositoryImpl.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/RepositoryImpl.java
@@ -25,6 +25,7 @@ import java.util.Set;
 
 import org.apache.felix.utils.manifest.Clause;
 import org.apache.felix.utils.manifest.Parser;
+import org.apache.karaf.features.Feature;
 import org.apache.karaf.features.Repository;
 import org.apache.karaf.features.internal.model.Features;
 import org.apache.karaf.features.internal.model.JaxbUtil;
@@ -78,10 +79,10 @@ public class RepositoryImpl implements Repository {
                 .toArray(URI[]::new);
     }
 
-    public org.apache.karaf.features.Feature[] getFeatures() throws IOException {
+    public Feature[] getFeatures() throws IOException {
         load();
         return features.getFeature()
-                .toArray(new org.apache.karaf.features.Feature[features.getFeature().size()]);
+                .toArray(new Feature[features.getFeature().size()]);
     }
 
 


Mime
View raw message