[camel] branch master updated: Camel-Core-Engine: Fixed CS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated: Camel-Core-Engine: Fixed CS

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 6807801  Camel-Core-Engine: Fixed CS
6807801 is described below

commit 68078011790392bdeea8ece86798b077e0088001
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Fri Jul 31 20:33:50 2020 +0200

    Camel-Core-Engine: Fixed CS
---
 .../java/org/apache/camel/builder/TemplatedRouteBuilder.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/builder/TemplatedRouteBuilder.java b/core/camel-core-engine/src/main/java/org/apache/camel/builder/TemplatedRouteBuilder.java
index 6b2d0ed..10448f1 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/builder/TemplatedRouteBuilder.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/builder/TemplatedRouteBuilder.java
@@ -36,6 +36,11 @@ public final class TemplatedRouteBuilder {
     private final Map<String, Object> parameters = new HashMap<>();
     private Consumer<RouteTemplateDefinition> handler;
 
+    private TemplatedRouteBuilder(CamelContext camelContext, String routeTemplateId) {
+        this.camelContext = camelContext;
+        this.routeTemplateId = routeTemplateId;
+    }
+
     /**
      * Creates a new {@link TemplatedRouteBuilder} to specify input parameters, and others, for the route template.
      *
@@ -47,11 +52,6 @@ public final class TemplatedRouteBuilder {
         return new TemplatedRouteBuilder(camelContext, routeTemplateId);
     }
 
-    private TemplatedRouteBuilder(CamelContext camelContext, String routeTemplateId) {
-        this.camelContext = camelContext;
-        this.routeTemplateId = routeTemplateId;
-    }
-
     /**
      * Sets the id of the route.
      * If no route id is configured, then Camel will auto assign a route id, which is returned from the build method.