nizhikov commented on code in PR #15572:
URL: https://github.com/apache/kafka/pull/15572#discussion_r1542637640


##########
clients/src/main/java/org/apache/kafka/common/utils/Utils.java:
##########
@@ -1675,6 +1675,15 @@ public static <V> Map<String, V> 
entriesWithPrefix(Map<String, V> map, String pr
         return result;
     }
 
+    /**
+     * Checks requirement. Throw {@link IllegalArgumentException} if {@code 
requirement} failed.
+     * @param requirement Requirement to check.
+     */
+    public static void require(boolean requirement) {

Review Comment:
   My goal it to rewrite classes as is, but OK let's fix this :)



-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to