You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/10/12 05:42:28 UTC

[camel] 02/02: CAMEL-18600: properties component - Allow to turn off nested placeholders

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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c14f001c7dce8711278b711677a3e210d6bd2e1a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Oct 12 07:42:16 2022 +0200

    CAMEL-18600: properties component - Allow to turn off nested placeholders
---
 .../camel/component/properties/PropertiesComponent.java | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java b/core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java
index da06caa6b2e..02888ccd9ed 100644
--- a/core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java
+++ b/core/camel-base/src/main/java/org/apache/camel/component/properties/PropertiesComponent.java
@@ -455,9 +455,6 @@ public class PropertiesComponent extends ServiceSupport
         return ignoreMissingLocation;
     }
 
-    /**
-     * Whether to silently ignore if a location cannot be located, such as a properties file not found.
-     */
     @Override
     public void setIgnoreMissingLocation(boolean ignoreMissingLocation) {
         this.ignoreMissingLocation = ignoreMissingLocation;
@@ -468,10 +465,6 @@ public class PropertiesComponent extends ServiceSupport
         return nestedPlaceholder;
     }
 
-    /**
-     * Whether to support nested property placeholders. A nested placeholder, means that a placeholder, has also a
-     * placeholder, that should be resolved (recursively).
-     */
     @Override
     public void setNestedPlaceholder(boolean nestedPlaceholder) {
         this.nestedPlaceholder = nestedPlaceholder;
@@ -488,9 +481,6 @@ public class PropertiesComponent extends ServiceSupport
         return initialProperties;
     }
 
-    /**
-     * Sets initial properties which will be used before any locations are resolved.
-     */
     @Override
     public void setInitialProperties(Properties initialProperties) {
         this.initialProperties = initialProperties;
@@ -515,9 +505,6 @@ public class PropertiesComponent extends ServiceSupport
         return overrideProperties;
     }
 
-    /**
-     * Sets a special list of override properties that take precedence and will use first, if a property exists.
-     */
     @Override
     public void setOverrideProperties(Properties overrideProperties) {
         this.overrideProperties = overrideProperties;
@@ -532,10 +519,6 @@ public class PropertiesComponent extends ServiceSupport
 
     }
 
-    /**
-     * Sets a special list of local properties (ie thread local) that take precedence and will use first, if a property
-     * exists.
-     */
     @Override
     public void setLocalProperties(Properties localProperties) {
         if (localProperties != null) {