gnodet-bot commented on code in PR #30366:
URL: https://github.com/apache/camel/pull/30366#discussion_r4625345817


##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/ListingFormat.java:
##########
@@ -40,6 +42,17 @@ public static String uri(String uri, boolean shortUri) {
         return uri;
     }
 
+    /**
+     * The endpoint URI with the values of its sensitive options (such as 
passwords and access keys) masked as
+     * <tt>xxxxxx</tt>, the same way Camel logs it, or as it is when not 
masked.
+     *
+     * @param uri  the endpoint URI, as the integration has it

Review Comment:
   The `@param mask` description restates the parameter name without explaining 
its effect. A reader needs to know what `true` vs `false` does.
   
   ```suggestion
        * @param mask whether to mask sensitive values; when {@code false} the 
URI is returned as-is
   ```



-- 
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]

Reply via email to