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 2018/12/13 09:06:59 UTC

[sling-org-apache-sling-feature-launcher] branch master updated: SLING-8168: don't sort features but merge them as they come in

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

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


The following commit(s) were added to refs/heads/master by this push:
     new b0d6828  SLING-8168: don't sort features but merge them as they come in
b0d6828 is described below

commit b0d68285231e8e4f23b6e090c2e515b2400c33be
Author: Karl Pauls <ka...@gmail.com>
AuthorDate: Thu Dec 13 10:06:51 2018 +0100

    SLING-8168: don't sort features but merge them as they come in
---
 .../java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java   | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java b/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
index 06edb00..e63abfa 100644
--- a/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
+++ b/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java
@@ -102,8 +102,6 @@ public class FeatureProcessor {
             }
         }
 
-        Collections.sort(features);
-
         // TODO make feature id configurable
         final Feature app = FeatureBuilder.assemble(ArtifactId.fromMvnId("group:assembled:1.0.0"), builderContext, features.toArray(new Feature[0]));