Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 42D59200CAD for ; Mon, 15 May 2017 15:12:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3EDA9160BC2; Mon, 15 May 2017 13:12:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 79897160BD4 for ; Mon, 15 May 2017 15:12:02 +0200 (CEST) Received: (qmail 40867 invoked by uid 500); 15 May 2017 13:12:01 -0000 Mailing-List: contact commits-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list commits@karaf.apache.org Received: (qmail 40581 invoked by uid 99); 15 May 2017 13:12:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2017 13:12:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 576D7DFFAC; Mon, 15 May 2017 13:12:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gnodet@apache.org To: commits@karaf.apache.org Date: Mon, 15 May 2017 13:12:10 -0000 Message-Id: In-Reply-To: <768545f3f8354b969724fa4c18da6beb@git.apache.org> References: <768545f3f8354b969724fa4c18da6beb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/11] karaf git commit: Import the class archived-at: Mon, 15 May 2017 13:12:03 -0000 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 Authored: Mon May 15 14:57:37 2017 +0200 Committer: Guillaume Nodet 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()]); }