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 2018/11/09 07:57:50 UTC
[camel] 03/03: Camel-Elasticsearch-rest: Fixed CS
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
commit ac99f2a9ce8c230f3c0080914452b58320f36683
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 9 08:56:41 2018 +0100
Camel-Elasticsearch-rest: Fixed CS
---
.../org/apache/camel/component/elasticsearch/ElasticsearchProducer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java b/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
index 314b4c2..f3fee32 100644
--- a/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
+++ b/components/camel-elasticsearch-rest/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
@@ -227,7 +227,7 @@ public class ElasticsearchProducer extends DefaultProducer {
}
if (configuration.getDisconnect()) {
IOHelper.close(client);
- IOHelper.close(restHighLevelClient);
+ IOHelper.close(restHighLevelClient);
client = null;
if (configuration.getEnableSniffer()) {
IOHelper.close(sniffer);