You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/03/22 11:10:04 UTC

[GitHub] [camel] essobedo commented on a change in pull request #7243: Summary

essobedo commented on a change in pull request #7243:
URL: https://github.com/apache/camel/pull/7243#discussion_r832048856



##########
File path: core/camel-api/src/main/java/org/apache/camel/spi/PropertiesComponent.java
##########
@@ -116,6 +117,25 @@
      */
     Properties loadProperties(Predicate<String> filter);
 
+    /**
+     * Loads the properties from the default locations and sources filtering them out according to a predicate, and maps
+     * the key using the key mapper.
+     * </p>
+     *
+     * <pre>
+     * {
+     *     &#64;code
+     *     PropertiesComponent pc = getPropertiesComponent();
+     *     Properties props = pc.loadProperties(key -> key.startsWith("camel.component.seda"), StringHelper.dashToCamelCase);
+     * }

Review comment:
       ```suggestion
        *  <code>
        *     PropertiesComponent pc = getPropertiesComponent();
        *     Properties props = pc.loadProperties(key -> key.startsWith("camel.component.seda"), StringHelper.dashToCamelCase);
        * </code>
   ```
   The formatter broke the Javadoc




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org