camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject camel git commit: Fix Checkstyle issues
Date Sun, 08 Nov 2015 11:27:49 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.16.x 0fdf9c9ef -> ca9a05a2c


Fix Checkstyle issues

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>

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

Branch: refs/heads/camel-2.16.x
Commit: ca9a05a2cb56d6c77da9cfcc6ed87f260974acef
Parents: 0fdf9c9
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Sat Oct 17 21:24:16 2015 +0200
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Sun Nov 8 12:26:57 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/sql/DefaultSqlEndpoint.java   | 3 ++-
 .../src/main/java/org/apache/camel/component/sql/SqlConsumer.java | 3 ++-
 .../sql/SqlComponentConfigurationAndDocumentationTest.java        | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ca9a05a2/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
index c67ecc1..2de1d64 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/DefaultSqlEndpoint.java
@@ -54,7 +54,8 @@ public abstract class DefaultSqlEndpoint extends DefaultPollingEndpoint
{
             description = "Allows to plugin to use a custom org.apache.camel.component.sql.SqlPrepareStatementStrategy
to control preparation of the query and prepared statement.")
     private SqlPrepareStatementStrategy prepareStatementStrategy;
     @UriParam(label = "consumer",
-            description = "After processing each row then this query can be executed, if
the Exchange was processed successfully, for example to mark the row as processed. The query
can have parameter.")
+            description = "After processing each row then this query can be executed, if
the Exchange was processed successfully, for example to mark the row as processed. The query
can have"
+                    + " parameter.")
     private String onConsume;
     @UriParam(label = "consumer",
             description = "After processing each row then this query can be executed, if
the Exchange failed, for example to mark the row as failed. The query can have parameter.")

http://git-wip-us.apache.org/repos/asf/camel/blob/ca9a05a2/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java
b/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java
index 0f52280..ce8135a 100644
--- a/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java
+++ b/components/camel-sql/src/main/java/org/apache/camel/component/sql/SqlConsumer.java
@@ -63,7 +63,8 @@ public class SqlConsumer extends ScheduledBatchPollingConsumer {
         }
     }
 
-    public SqlConsumer(DefaultSqlEndpoint endpoint, Processor processor, JdbcTemplate jdbcTemplate,
String query, SqlPrepareStatementStrategy sqlPrepareStatementStrategy, SqlProcessingStrategy
sqlProcessingStrategy) {
+    public SqlConsumer(DefaultSqlEndpoint endpoint, Processor processor, JdbcTemplate jdbcTemplate,
String query, SqlPrepareStatementStrategy sqlPrepareStatementStrategy,
+            SqlProcessingStrategy sqlProcessingStrategy) {
         super(endpoint, processor);
         this.jdbcTemplate = jdbcTemplate;
         this.namedJdbcTemplate = null;

http://git-wip-us.apache.org/repos/asf/camel/blob/ca9a05a2/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
index f3d0674..68bbe9c 100644
--- a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
@@ -48,7 +48,8 @@ public class SqlComponentConfigurationAndDocumentationTest extends CamelTestSupp
 
         assertTrue(json.contains("\"onConsumeBatchComplete\": { \"kind\": \"parameter\",
\"label\": \"consumer\", \"type\": \"string\""));
         assertTrue(json.contains("\"parametersCount\": { \"kind\": \"parameter\", \"label\":
\"producer,advanced\", \"type\": \"integer\""));
-        assertTrue(json.contains("\"onConsume\": { \"kind\": \"parameter\", \"label\": \"consumer\",
\"type\": \"string\", \"javaType\": \"java.lang.String\", \"deprecated\": \"false\", \"value\":
\"foo\""));
+        assertTrue(json.contains("\"onConsume\": { \"kind\": \"parameter\", \"label\": \"consumer\",
\"type\": \"string\", \"javaType\": \"java.lang.String\", \"deprecated\": \"false\", "
+                + "\"value\": \"foo\""));
     }
 
 }


Mime
View raw message