You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/03/22 08:09:26 UTC
[camel] branch master updated: Fixed CS for Camel-Elasticsearch-Rest
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 40f9099 Fixed CS for Camel-Elasticsearch-Rest
40f9099 is described below
commit 40f90994d177fdf392c9168a8647616392de7d83
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 22 09:08:49 2019 +0100
Fixed CS for Camel-Elasticsearch-Rest
---
.../elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-elasticsearch-rest/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java b/components/camel-elasticsearch-rest/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
index 15b0ce5..defb013 100644
--- a/components/camel-elasticsearch-rest/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
+++ b/components/camel-elasticsearch-rest/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchGetSearchDeleteExistsUpdateTest.java
@@ -109,9 +109,9 @@ public class ElasticsearchGetSearchDeleteExistsUpdateTest extends ElasticsearchB
assertNotNull("response should not be null", getResponse);
assertNotNull("response source should not be null", getResponse.getSource());
// need to create a query string
- String query = "{\n" +
- " \"query\" : { \"match\" : { \"key\" : \"value\" }}\n" +
- "}\n";
+ String query = "{\n"
+ + " \"query\" : { \"match\" : { \"key\" : \"value\" }}\n"
+ + "}\n";
SearchHits response = template.requestBody("direct:search", query, SearchHits.class);
assertNotNull("response should not be null", response);
assertEquals("response hits should be == 0", 0, response.totalHits);