tengqm commented on code in PR #5688:
URL: https://github.com/apache/gravitino/pull/5688#discussion_r1872471520


##########
clients/cli/src/main/java/org/apache/gravitino/cli/GravitinoCommandLine.java:
##########
@@ -140,41 +145,78 @@ private void handleMetalakeCommand() {
     String url = getUrl();
     FullName name = new FullName(line);
     String metalake = name.getMetalakeName();
-
-    if (CommandActions.DETAILS.equals(command)) {

Review Comment:
   Why don't we just do a `switch...case` here?
   It is much more readable and maintainable.
   



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