You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2015/04/04 12:27:02 UTC
camel git commit: Correct typos.
Repository: camel
Updated Branches:
refs/heads/master 54fa630ba -> 0d15092ab
Correct typos.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0d15092a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0d15092a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0d15092a
Branch: refs/heads/master
Commit: 0d15092ab4fa160c99771d0f7e31774a5d0e526d
Parents: 54fa630
Author: Babak Vahdat <bv...@apache.org>
Authored: Sat Apr 4 12:26:48 2015 +0200
Committer: Babak Vahdat <bv...@apache.org>
Committed: Sat Apr 4 12:26:48 2015 +0200
----------------------------------------------------------------------
.../component/elasticsearch/ElasticsearchComponentTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/0d15092a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java
index 3ba4972..715b5c2 100644
--- a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java
+++ b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentTest.java
@@ -64,7 +64,7 @@ public class ElasticsearchComponentTest extends CamelTestSupport {
String prefix = createPrefix();
// take over any potential prefixes we may have been asked for
- if (additionalPrefixes.length > 1) {
+ if (additionalPrefixes.length > 0) {
StringBuilder sb = new StringBuilder(prefix);
for (String additionalPrefix : additionalPrefixes) {
sb.append(additionalPrefix);
@@ -74,7 +74,7 @@ public class ElasticsearchComponentTest extends CamelTestSupport {
String key = prefix + "key";
String value = prefix + "value";
- log.info("Creating index data using the key/value pair {} => {}", key, value);
+ log.info("Creating indexed data using the key/value pair {} => {}", key, value);
Map<String, String> map = new HashMap<String, String>();
map.put(key, value);