huaxiangsun commented on a change in pull request #2759:
URL: https://github.com/apache/hbase/pull/2759#discussion_r545372858



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
##########
@@ -1935,6 +1936,22 @@ protected Void postOperationResult(final Void result, 
final long deadlineTs)
     }
   }
 
+  private boolean isHexChar(char c) {
+    return (c >= 'A' && c <= 'F') || (c >= 'a' && c <= 'f') || (c >= '0' && c 
<= '9');
+
+  }
+  private boolean isMd5Hash(String encodedRegionName) {

Review comment:
       Done. I put the new isMD5Hash() in RegionInfo and embed isHexDigit 
inside this method.




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


Reply via email to