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 2019/08/24 07:20:26 UTC
[camel] 02/03: Polished
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3f0cbff280cb75c4c328add51491dbf44dd5117b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Aug 24 09:13:35 2019 +0200
Polished
---
.../apache/camel/model/DefinitionPropertyPlaceholderConfigurer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-core/src/main/java/org/apache/camel/model/DefinitionPropertyPlaceholderConfigurer.java b/core/camel-core/src/main/java/org/apache/camel/model/DefinitionPropertyPlaceholderConfigurer.java
index 4b75c58..c44132d 100644
--- a/core/camel-core/src/main/java/org/apache/camel/model/DefinitionPropertyPlaceholderConfigurer.java
+++ b/core/camel-core/src/main/java/org/apache/camel/model/DefinitionPropertyPlaceholderConfigurer.java
@@ -46,8 +46,8 @@ public interface DefinitionPropertyPlaceholderConfigurer extends PropertyPlaceho
* returning the changed value This will be all the string based options.
*/
default Map<String, Consumer<String>> getWritePropertyPlaceholderOptions(CamelContext camelContext) {
- PropertyPlaceholderConfigurer aware = DefinitionPropertiesPlaceholderProviderHelper.provider(this).orElse(null);
- return aware != null ? aware.getWritePropertyPlaceholderOptions(camelContext) : null;
+ PropertyPlaceholderConfigurer configurer = DefinitionPropertiesPlaceholderProviderHelper.provider(this).orElse(null);
+ return configurer != null ? configurer.getWritePropertyPlaceholderOptions(camelContext) : null;
}
}