C0urante commented on code in PR #16678:
URL: https://github.com/apache/kafka/pull/16678#discussion_r1695412073
##########
clients/src/main/java/org/apache/kafka/common/utils/Utils.java:
##########
@@ -1648,9 +1648,13 @@ public static <V> Map<String, V>
entriesWithPrefix(Map<String, V> map, String pr
* @param <V> the type of values stored in the map
*/
public static <V> Map<String, V> entriesWithPrefix(Map<String, V> map,
String prefix, boolean strip) {
+ return entriesWithPrefix(map, prefix, strip, false);
+ }
+
+ public static <V> Map<String, V> entriesWithPrefix(Map<String, V> map,
String prefix, boolean strip, boolean allowMatchingLength) {
Review Comment:
Can we add a Javadoc for this? It can be largely identical to the one above,
just needs to include an additional description for the `allowMatchingLength`
parameter.
--
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]