camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [2/5] camel git commit: Fixed CS error of camel-spark
Date Thu, 27 Nov 2014 07:24:56 GMT
Fixed CS error of camel-spark


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

Branch: refs/heads/master
Commit: 74b6c5cd0a1888a6d8bb0e6364b2998c258c27ed
Parents: 85e1239
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Thu Nov 27 15:12:59 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu Nov 27 15:16:17 2014 +0800

----------------------------------------------------------------------
 .../org/apache/camel/component/sparkrest/SparkEndpoint.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/74b6c5cd/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
index f655abf..56bc14c 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkEndpoint.java
@@ -29,14 +29,13 @@ import spark.route.HttpMethod;
 
 @UriEndpoint(scheme = "spark-rest", consumerClass =  SparkConsumer.class, label = "rest")
 public class SparkEndpoint extends DefaultEndpoint {
-
+    @UriParam
+    SparkConfiguration sparkConfiguration;
     @UriPath
     private String verb;
     @UriPath
     private String path;
     @UriParam
-    SparkConfiguration sparkConfiguration;
-    @UriParam
     private SparkBinding sparkBinding;
     @UriParam
     private String accept;


Mime
View raw message