You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/12/10 10:07:15 UTC

[GitHub] [hbase] Apache9 commented on a change in pull request #923: HBASE-23554 Encoded regionname to regionname utility

Apache9 commented on a change in pull request #923: HBASE-23554 Encoded regionname to regionname utility
URL: https://github.com/apache/hbase/pull/923#discussion_r355943196
 
 

 ##########
 File path: hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
 ##########
 @@ -346,15 +346,23 @@ static TableName getTable(final byte [] regionName) {
     return parseRegionName(regionName)[1];
   }
 
-  @InterfaceAudience.Private
-  static boolean isEncodedRegionName(byte[] regionName) throws IOException {
+  /**
+   * Figure if the passed bytes represent an encoded region name or not.
+   * @param regionName A Region name either encoded or not.
+   * @return True if <code>regionName</code> represents an encoded name.
+   */
+  @InterfaceAudience.Private // For use by internals only.
 
 Review comment:
   Can we move this method to another class?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services