camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject camel git commit: Fixed CS.
Date Thu, 10 Dec 2015 21:25:33 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1a7cce0f2 -> 8230d49b5


Fixed CS.


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

Branch: refs/heads/master
Commit: 8230d49b529d04c34ba6c3c3725e85bdd895bc5b
Parents: 1a7cce0
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Thu Dec 10 22:25:24 2015 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Thu Dec 10 22:25:24 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/spark/HiveSparkProducer.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8230d49b/components/camel-spark/src/main/java/org/apache/camel/component/spark/HiveSparkProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-spark/src/main/java/org/apache/camel/component/spark/HiveSparkProducer.java
b/components/camel-spark/src/main/java/org/apache/camel/component/spark/HiveSparkProducer.java
index eb64637..3145595 100644
--- a/components/camel-spark/src/main/java/org/apache/camel/component/spark/HiveSparkProducer.java
+++ b/components/camel-spark/src/main/java/org/apache/camel/component/spark/HiveSparkProducer.java
@@ -46,7 +46,7 @@ public class HiveSparkProducer extends DefaultProducer {
 
     protected HiveContext resolveHiveContext() {
         Set<HiveContext> hiveContexts = getEndpoint().getComponent().getCamelContext().getRegistry().findByType(HiveContext.class);
-        if(hiveContexts.size() == 1) {
+        if (hiveContexts.size() == 1) {
             return hiveContexts.iterator().next();
         }
         return null;


Mime
View raw message