camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/6] camel git commit: CAMEL-10562: camel-core - Switched to List#sort
Date Thu, 08 Dec 2016 08:42:54 GMT
CAMEL-10562: camel-core - Switched to List#sort


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/856f13ce
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/856f13ce
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/856f13ce

Branch: refs/heads/camel-2.18.x
Commit: 856f13ce54b551ec810ef1be09c811f4f6de9610
Parents: 5b321b4
Author: Stefan Schulze <stefan.schulze3@gmail.com>
Authored: Wed Dec 7 00:02:19 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Dec 8 09:42:09 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/impl/DefaultCamelContext.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/856f13ce/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
index 8948e6c..9c8ded2 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultCamelContext.java
@@ -3498,7 +3498,7 @@ public class DefaultCamelContext extends ServiceSupport implements ModelCamelCon
         doWarmUpRoutes(inputs, startConsumer);
 
         // sort the startup listeners so they are started in the right order
-        Collections.sort(startupListeners, new OrderedComparator());
+        startupListeners.sort(new OrderedComparator());
         // now call the startup listeners where the routes has been warmed up
         // (only the actual route consumer has not yet been started)
         for (StartupListener startup : startupListeners) {


Mime
View raw message