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>
+ * {
+ * @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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]