mjsax commented on code in PR #18778:
URL: https://github.com/apache/kafka/pull/18778#discussion_r1940553801


##########
streams/src/main/java/org/apache/kafka/streams/internals/ApiUtils.java:
##########
@@ -81,6 +82,8 @@ public static String prepareMillisCheckFailMsgPrefix(final 
Object value, final S
      * @throws IllegalArgumentException if the same instance is obtained each 
time
      */
     public static void checkSupplier(final Supplier<?> supplier) {
+        Objects.requireNonNull(supplier, "supplier cannot be null");

Review Comment:
   Pull in this check, to centralize it.



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