justinmclean commented on code in PR #5897:
URL: https://github.com/apache/gravitino/pull/5897#discussion_r1889671792


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -811,6 +826,16 @@ private void handleFilesetCommand() {
     }
   }
 
+  private boolean hasEntity(FullName name) {
+    // TODO fileset and topic
+    return !(Objects.isNull(name.getCatalogName())
+        && Objects.isNull(name.getSchemaName())
+        && Objects.isNull(name.getTableName()));
+  }
+
+  private void showEntityUndefinedMessage() {
+    System.err.println(ErrorMessages.MISSING_ENTITY);
+  }

Review Comment:
   I would just use System.err.println(ErrorMessages.MISSING_ENTITY) directly 
where needed as it clearer to what it is doing.



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