You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2017/03/05 17:25:11 UTC
camel git commit: CAMEL-9800: [Minor] Fix Checkstyle issues
Repository: camel
Updated Branches:
refs/heads/master 272b48aa9 -> 295b07e20
CAMEL-9800: [Minor] Fix Checkstyle issues
Signed-off-by: Gregor Zurowski <gr...@zurowski.org>
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/295b07e2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/295b07e2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/295b07e2
Branch: refs/heads/master
Commit: 295b07e20debe7942a33a08bb328b8b251c18892
Parents: 272b48a
Author: Gregor Zurowski <gr...@zurowski.org>
Authored: Sun Mar 5 18:24:54 2017 +0100
Committer: Gregor Zurowski <gr...@zurowski.org>
Committed: Sun Mar 5 18:24:54 2017 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/example/springboot/CamelRouter.java | 6 +++---
.../main/java/org/apache/camel/example/springboot/User.java | 4 ++--
.../java/org/apache/camel/example/springboot/UserService.java | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/295b07e2/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/CamelRouter.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/CamelRouter.java b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/CamelRouter.java
index b1a7a28..0d5897c 100644
--- a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/CamelRouter.java
+++ b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/CamelRouter.java
@@ -16,13 +16,13 @@
*/
package org.apache.camel.example.springboot;
-import static org.apache.camel.model.rest.RestParamType.body;
-import static org.apache.camel.model.rest.RestParamType.path;
-
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.model.rest.RestBindingMode;
import org.springframework.stereotype.Component;
+import static org.apache.camel.model.rest.RestParamType.body;
+import static org.apache.camel.model.rest.RestParamType.path;
+
/**
* A simple Camel REST DSL route with Swagger API documentation.
*
http://git-wip-us.apache.org/repos/asf/camel/blob/295b07e2/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/User.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/User.java b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/User.java
index 8ea297e..3204888 100644
--- a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/User.java
+++ b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/User.java
@@ -16,11 +16,11 @@
*/
package org.apache.camel.example.springboot;
-import org.apache.commons.lang3.builder.ToStringBuilder;
-
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+
/**
* User entity
*
http://git-wip-us.apache.org/repos/asf/camel/blob/295b07e2/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/UserService.java
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/UserService.java b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/UserService.java
index 072a672..488c305 100644
--- a/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/UserService.java
+++ b/examples/camel-example-spring-boot-rest-swagger/src/main/java/org/apache/camel/example/springboot/UserService.java
@@ -31,14 +31,14 @@ public interface UserService {
* the ID of the user
* @return the user, or <code>null</code> if user not found.
*/
- public User findUser(Integer id);
+ User findUser(Integer id);
/**
* Find all users
*
* @return a collection of all users
*/
- public Collection<User> findUsers();
+ Collection<User> findUsers();
/**
* Update the given user
@@ -46,6 +46,6 @@ public interface UserService {
* @param user
* the user
*/
- public void updateUser(User user);
+ void updateUser(User user);
}