Repository: hbase
Updated Branches:
  refs/heads/branch-2 9919a47b7 -> 13769ab7c


HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/13769ab7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/13769ab7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/13769ab7

Branch: refs/heads/branch-2
Commit: 13769ab7c15f2d72224026336fa35cea0ac18cc0
Parents: 9919a47
Author: Chia-Ping Tsai <[email protected]>
Authored: Sat Aug 26 10:52:22 2017 +0800
Committer: Chia-Ping Tsai <[email protected]>
Committed: Sun Aug 27 19:02:07 2017 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/HColumnDescriptor.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/13769ab7/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
----------------------------------------------------------------------
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
index 8802553..cbde7b5 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
@@ -221,9 +221,8 @@ public class HColumnDescriptor implements 
ColumnFamilyDescriptor, Comparable<HCo
   /**
    * @param key Key whose key and value we're to remove from HCD parameters.
    */
-  public HColumnDescriptor remove(final byte [] key) {
+  public void remove(final byte [] key) {
     getDelegateeForModification().removeValue(new Bytes(key));
-    return this;
   }
 
   /**
@@ -704,9 +703,8 @@ public class HColumnDescriptor implements 
ColumnFamilyDescriptor, Comparable<HCo
   /**
    * Remove a configuration setting represented by the key.
    */
-  public HColumnDescriptor removeConfiguration(final String key) {
+  public void removeConfiguration(final String key) {
     getDelegateeForModification().removeConfiguration(key);
-    return this;
   }
 
   @Override

Reply via email to