Abyss-lord commented on code in PR #7123:
URL: https://github.com/apache/gravitino/pull/7123#discussion_r2104211496


##########
clients/cli/src/main/java/org/apache/gravitino/cli/outputs/PlainFormat.java:
##########
@@ -46,52 +51,88 @@ public abstract class PlainFormat<T> extends 
BaseOutputFormat<T> {
    * @throws IllegalArgumentException if the object type is not supported
    */
   public static void output(Object entity, CommandContext context) {
+
     if (entity instanceof Metalake) {
       new MetalakePlainFormat(context).output((Metalake) entity);
+
     } else if (entity instanceof Metalake[]) {
       new MetalakeListPlainFormat(context).output((Metalake[]) entity);
+
     } else if (entity instanceof Catalog) {
       new CatalogPlainFormat(context).output((Catalog) entity);
+
     } else if (entity instanceof Catalog[]) {
       new CatalogListPlainFormat(context).output((Catalog[]) entity);
+
     } else if (entity instanceof Schema) {
       new SchemaPlainFormat(context).output((Schema) entity);
+
     } else if (entity instanceof Schema[]) {
       new SchemaListPlainFormat(context).output((Schema[]) entity);
+
     } else if (entity instanceof Table) {
       new TablePlainFormat(context).output((Table) entity);
+
     } else if (entity instanceof Table[]) {
       new TableListPlainFormat(context).output((Table[]) entity);
+
     } else if (entity instanceof Model) {
       new ModelDetailPlainFormat(context).output((Model) entity);
+
     } else if (entity instanceof Model[]) {
       new ModelListPlainFormat(context).output((Model[]) entity);
+
     } else if (entity instanceof User) {
       new UserDetailsPlainFormat(context).output((User) entity);
+
     } else if (entity instanceof User[]) {
       new UserListPlainFormat(context).output((User[]) entity);
+
     } else if (entity instanceof Group) {
       new GroupDetailsPlainFormat(context).output((Group) entity);
+
     } else if (entity instanceof Group[]) {
       new GroupListPlainFormat(context).output((Group[]) entity);
+
     } else if (entity instanceof Audit) {
       new AuditPlainFormat(context).output((Audit) entity);
+

Review Comment:
   @justinmclean fix, i already remove these blank lines.



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