You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by co...@apache.org on 2020/02/18 13:42:30 UTC

[camel] branch master updated: CAMEL-14532 - Changing method signature

This is an automated email from the ASF dual-hosted git repository.

coheigea 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 b5cfe77  CAMEL-14532 - Changing method signature
b5cfe77 is described below

commit b5cfe77e09c16258ffe4bfdf0e3b5aaf9c8da8b3
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Feb 18 13:42:05 2020 +0000

    CAMEL-14532 - Changing method signature
---
 .../src/main/java/org/apache/camel/model/dataformat/YAMLDataFormat.java | 2 +-
 .../java/org/apache/camel/reifier/dataformat/YAMLDataFormatReifier.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/model/dataformat/YAMLDataFormat.java b/core/camel-core-engine/src/main/java/org/apache/camel/model/dataformat/YAMLDataFormat.java
index ebdc209..964a852 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/model/dataformat/YAMLDataFormat.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/model/dataformat/YAMLDataFormat.java
@@ -232,7 +232,7 @@ public class YAMLDataFormat extends DataFormatDefinition {
         this.maxAliasesForCollections = maxAliasesForCollections;
     }
 
-    public String isAllowRecursiveKeys() {
+    public String getAllowRecursiveKeys() {
         return allowRecursiveKeys;
     }
 
diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/YAMLDataFormatReifier.java b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/YAMLDataFormatReifier.java
index 6f49028..d422630 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/YAMLDataFormatReifier.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/reifier/dataformat/YAMLDataFormatReifier.java
@@ -52,7 +52,7 @@ public class YAMLDataFormatReifier extends DataFormatReifier<YAMLDataFormat> {
         properties.put("dumperOptions", definition.getDumperOptions());
         properties.put("resolver", definition.getResolver());
         properties.put("maxAliasesForCollections", definition.getMaxAliasesForCollections());
-        properties.put("allowRecursiveKeys", definition.isAllowRecursiveKeys());
+        properties.put("allowRecursiveKeys", definition.getAllowRecursiveKeys());
     }
 
     private List<String> getTypeFilterDefinitions() {