camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] git commit: CAMEL-7986: Lets be able to compile with java 6 for backport to older branches.
Date Sat, 01 Nov 2014 18:26:21 GMT
CAMEL-7986: Lets be able to compile with java 6 for backport to older branches.


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

Branch: refs/heads/camel-2.14.x
Commit: c07ddab774fbc3507a2ba76e0706ec6890e5d7b8
Parents: eca9b3d
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Nov 1 19:25:28 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Nov 1 19:25:57 2014 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/model/RouteDefinitionHelper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c07ddab7/camel-core/src/main/java/org/apache/camel/model/RouteDefinitionHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/RouteDefinitionHelper.java b/camel-core/src/main/java/org/apache/camel/model/RouteDefinitionHelper.java
index da218e1..a5679ae 100644
--- a/camel-core/src/main/java/org/apache/camel/model/RouteDefinitionHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/model/RouteDefinitionHelper.java
@@ -120,7 +120,7 @@ public final class RouteDefinitionHelper {
      */
     public static void forceAssignIds(CamelContext context, List<RouteDefinition> routes)
throws Exception {
         // handle custom assigned id's first, and then afterwards assign auto generated ids
-        Set<String> customIds = new HashSet<>();
+        Set<String> customIds = new HashSet<String>();
 
         for (RouteDefinition route : routes) {
             // if there was a custom id assigned, then make sure to support property placeholders


Mime
View raw message