camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [1/3] camel git commit: Fixed CS
Date Sat, 26 Dec 2015 11:39:49 GMT
Repository: camel
Updated Branches:
  refs/heads/master a2b6ab7df -> d72bfe1ea


Fixed CS


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

Branch: refs/heads/master
Commit: 20c7daa6a2f816f65aa2e5d84c6b740282d8d5bc
Parents: 0b274ec
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Sat Dec 26 12:37:19 2015 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Sat Dec 26 12:37:35 2015 +0100

----------------------------------------------------------------------
 .../converter/ElasticsearchActionRequestConverter.java             | 2 +-
 .../ElasticsearchGetSearchDeleteExistsUpdateTest.java              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/20c7daa6/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
index aa50563..204ac3b 100644
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/converter/ElasticsearchActionRequestConverter.java
@@ -143,7 +143,7 @@ public final class ElasticsearchActionRequestConverter {
         MultiSearchRequest multiSearchRequest = new MultiSearchRequest();
         Iterator<SearchRequest> it = items.iterator();
         while (it.hasNext()) {
-        	SearchRequest item = (SearchRequest) it.next();
+            SearchRequest item = (SearchRequest) it.next();
             multiSearchRequest.add(item);
         }
         return multiSearchRequest;

http://git-wip-us.apache.org/repos/asf/camel/blob/20c7daa6/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
index 70ac14f..760745c 100644
--- a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
+++ b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
@@ -201,7 +201,7 @@ public class ElasticsearchGetSearchDeleteExistsUpdateTest extends ElasticsearchB
         headers.put(ElasticsearchConstants.PARAM_OPERATION, ElasticsearchConstants.OPERATION_MULTISEARCH);
         SearchRequestBuilder srb1 = node.client().prepareSearch("test").setTypes("type").setQuery(QueryBuilders.termQuery("field",
"xxx"));
         SearchRequestBuilder srb2 = node.client().prepareSearch("test").setTypes("type").setQuery(QueryBuilders.termQuery("field",
"yyy"));
-        SearchRequestBuilder srb3= node.client().prepareSearch("instagram")
+        SearchRequestBuilder srb3 = node.client().prepareSearch("instagram")
             .setTypes("type").setQuery(QueryBuilders.termQuery("test-multisearchkey", "test-multisearchvalue"));
         List<SearchRequest> list = new ArrayList<>();
         list.add(srb1.request());


Mime
View raw message