bharathv commented on a change in pull request #954: HBASE-23305: Master based 
registry implementation
URL: https://github.com/apache/hbase/pull/954#discussion_r362696661
 
 

 ##########
 File path: 
hbase-common/src/main/java/org/apache/hadoop/hbase/util/PrettyPrinter.java
 ##########
 @@ -188,4 +191,18 @@ private static long humanReadableIntervalToSec(final 
String humanReadableInterva
     return ttl;
   }
 
+  /**
+   * Pretty prints a collection of any type to a string. Relies on toString() 
implementation of the
+   * object type.
+   * @param collection collection to pretty print.
+   * @return Pretty printed string for the collection.
+   */
+  public static String toString(Collection<?> collection) {
 
 Review comment:
   Ya thats another pain. Hoping the backports go smoothly. There will be a ton 
of rewrite.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to