zhipeng93 commented on code in PR #86: URL: https://github.com/apache/flink-ml/pull/86#discussion_r874281393
########## flink-ml-core/src/main/java/org/apache/flink/ml/param/ParamValidators.java: ########## @@ -100,4 +100,22 @@ public boolean validate(T value) { public static <T> ParamValidator<T[]> nonEmptyArray() { return value -> value != null && value.length > 0; } + + // Check if every element in the array-typed parameter value is in the array of allowed values. Review Comment: nit: Check -> Checks -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org