mchades commented on code in PR #9551:
URL: https://github.com/apache/gravitino/pull/9551#discussion_r2661183140


##########
api/src/main/java/org/apache/gravitino/function/JavaImpl.java:
##########
@@ -32,7 +32,9 @@ public class JavaImpl extends FunctionImpl {
       FunctionResources resources,
       Map<String, String> properties) {
     super(Language.JAVA, runtime, resources, properties);
-    Preconditions.checkArgument(className != null, "Java class name cannot be 
null");
+    Preconditions.checkArgument(
+        org.apache.commons.lang3.StringUtils.isNotBlank(className),

Review Comment:
   Sorry for the oversight.  fixed



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