You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/05/20 17:07:15 UTC
[3/3] camel git commit: Fixed CS
Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0583aa11
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0583aa11
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0583aa11
Branch: refs/heads/master
Commit: 0583aa1134f2eeacaf7788c81004e21d1f3b24de
Parents: 546a0d2
Author: Claus Ibsen <da...@apache.org>
Authored: Wed May 20 17:11:36 2015 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed May 20 17:11:36 2015 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/camel/model/rest/RestDefinition.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/0583aa11/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java b/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
index f3729d5..964015b 100644
--- a/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/rest/RestDefinition.java
@@ -562,7 +562,7 @@ public class RestDefinition extends OptionalIdentifiedDefinition<RestDefinition>
}
}
- if( verb.getType() != null ) {
+ if (verb.getType() != null) {
String bodyType = verb.getType();
if (bodyType.endsWith("[]")) {
bodyType = "List[" + bodyType.substring(0, bodyType.length() - 2) + "]";