richochetclementine1315 opened a new pull request, #6268:
URL: https://github.com/apache/gravitino/pull/6268

   <!--
   1. " [#6239 ] Fixed: Unnessary toString() on String(CLI)"
      
    
   ### What changes were proposed in this pull request?
   Unnessary toString() on String(CLI).
   'all' is already a string . Calling 'toString' won't change anything
   
   
   
   ### Why are the changes needed?
   
   1st CHANGE: Removing toString() on String(CLI)
   REASON: 'all' is already a string . Calling 'toString' won't change anything
   2nd CHANGE: String all = roles.isEmpty() ? "The user has no roles." : 
String.join(",", roles);
   REASON: If the roles list is empty, all will be set to the string "The user 
has no roles.", otherwise, all will be a comma-separated string created by 
joining the elements of the roles list.
   
   Fix: #(6239)
   
   
   


-- 
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: commits-unsubscr...@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to