camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] branch master updated: Fixed CS for camel-core
Date Mon, 11 Mar 2019 08:02:00 GMT
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 5900209  Fixed CS for camel-core
5900209 is described below

commit 590020987d8809200d56f29dd65d961d39f5ebbc
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Mon Mar 11 09:01:39 2019 +0100

    Fixed CS for camel-core
---
 .../main/java/org/apache/camel/builder/RouteBuilder.java | 16 ++++++++--------
 .../org/apache/camel/issues/MyPackageScopedBean.java     |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/core/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java b/core/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
index 01cd30e..0110e3f 100644
--- a/core/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
+++ b/core/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
@@ -58,6 +58,14 @@ public abstract class RouteBuilder extends BuilderSupport implements RoutesBuild
     private List<ValidatorBuilder> validatorBuilders = new ArrayList<>();
     private RoutesDefinition routeCollection = new RoutesDefinition();
 
+    public RouteBuilder() {
+        this(null);
+    }
+
+    public RouteBuilder(CamelContext context) {
+        super(context);
+    }
+
     /**
      * Add routes to a context using a lambda expression.
      * It can be used as following:
@@ -79,14 +87,6 @@ public abstract class RouteBuilder extends BuilderSupport implements RoutesBuild
         });
     }
 
-    public RouteBuilder() {
-        this(null);
-    }
-
-    public RouteBuilder(CamelContext context) {
-        super(context);
-    }
-
     @Override
     public String toString() {
         return getRouteCollection().toString();
diff --git a/core/camel-core/src/test/java/org/apache/camel/issues/MyPackageScopedBean.java
b/core/camel-core/src/test/java/org/apache/camel/issues/MyPackageScopedBean.java
index fb75b31..b1f0e04 100644
--- a/core/camel-core/src/test/java/org/apache/camel/issues/MyPackageScopedBean.java
+++ b/core/camel-core/src/test/java/org/apache/camel/issues/MyPackageScopedBean.java
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.


Mime
View raw message