You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/01/27 12:51:12 UTC
[camel] 01/02: Fix minor typo
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c1855339fa16c9d69c660298ce657da50dfe737d
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Fri Jan 24 13:58:27 2020 +0100
Fix minor typo
---
.../src/main/java/org/apache/camel/tooling/util/JSonSchemaHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/JSonSchemaHelper.java b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/JSonSchemaHelper.java
index 51244d1..426a8a0 100644
--- a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/JSonSchemaHelper.java
+++ b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/JSonSchemaHelper.java
@@ -352,7 +352,7 @@ public final class JSonSchemaHelper {
Map<?, ?> row = output.getMap(key);
if (key.equals(group)) {
if (parseProperties) {
- // flattern each entry in the row with name as they key, and its value as the content (its a map also)
+ // flatten each entry in the row with name as they key, and its value as the content (its a map also)
for (Object obj : row.entrySet()) {
Map.Entry<?, ?> entry = (Map.Entry<?, ?>) obj;
Map<String, String> newRow = new LinkedHashMap<>();