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 Fri, 30 Oct 2015 12:41:27 GMT
Repository: camel
Updated Branches:
  refs/heads/master 04e16bef5 -> d528cd2c7


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/d528cd2c
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d528cd2c
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d528cd2c

Branch: refs/heads/master
Commit: d528cd2c72752e7bc60188c8de4e8ee8103394ad
Parents: 04e16be
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Fri Oct 30 13:40:44 2015 +0100
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Fri Oct 30 13:41:20 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/hbase/HBaseConsumer.java   | 6 +++---
 .../org/apache/camel/component/hbase/CamelHBaseFilterTest.java | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d528cd2c/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConsumer.java
b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConsumer.java
index 27a7abe..bf3760d 100644
--- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConsumer.java
+++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConsumer.java
@@ -82,9 +82,9 @@ public class HBaseConsumer extends ScheduledBatchPollingConsumer {
                 filters.add(new PageFilter(maxMessagesPerPoll));
             }
 
-            if (!filters.isEmpty()){
-              Filter compoundFilter = new FilterList(filters);
-              scan.setFilter(compoundFilter);
+            if (!filters.isEmpty()) {
+                Filter compoundFilter = new FilterList(filters);
+                scan.setFilter(compoundFilter);
             }
 
             if (rowModel != null && rowModel.getCells() != null) {

http://git-wip-us.apache.org/repos/asf/camel/blob/d528cd2c/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseFilterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseFilterTest.java
b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseFilterTest.java
index cfdcd8e..5cc0286 100644
--- a/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseFilterTest.java
+++ b/components/camel-hbase/src/test/java/org/apache/camel/component/hbase/CamelHBaseFilterTest.java
@@ -56,9 +56,9 @@ public class CamelHBaseFilterTest extends CamelHBaseTestSupport {
             Exchange resp = template.send(endpoint, exchange);
             Message out = resp.getOut();
             assertTrue("two first keys returned",
-                    out.getHeaders().containsValue(body[0][0][0]) &&
-                            out.getHeaders().containsValue(body[1][0][0]) &&
-                            !out.getHeaders().containsValue(body[2][0][0]));
+                    out.getHeaders().containsValue(body[0][0][0])
+                            && out.getHeaders().containsValue(body[1][0][0])
+                            && !out.getHeaders().containsValue(body[2][0][0]));
         }
     }
 


Mime
View raw message