clarax commented on code in PR #105:
URL: 
https://github.com/apache/hbase-operator-tools/pull/105#discussion_r846605023


##########
hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java:
##########
@@ -1202,4 +1318,70 @@ public static void main(String [] args) throws Exception 
{
       System.exit(errCode);
     }
   }
+
+  private List<String> stringArrayToList(String... nameSpaceOrTable) {
+    return nameSpaceOrTable != null ? Arrays.asList(nameSpaceOrTable) : null;
+  }
+
+  /**
+   * Get list of input if no other options
+   * @param args Array of arguments
+   * @return the list of input from arguments or parsed from input files
+   */
+  private List<String> getInputList(String[] args) throws IOException {
+    if (args == null) {
+      return null;

Review Comment:
   I added a check for the loop since null is expected elsewhere.



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