You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2017/08/27 11:01:56 UTC

hbase git commit: HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type

Repository: hbase
Updated Branches:
  refs/heads/master 483c42a75 -> 8f290c35b


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/8f290c35
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/8f290c35
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/8f290c35

Branch: refs/heads/master
Commit: 8f290c35b7259820de4a7c04256e74a3c3b6e056
Parents: 483c42a
Author: Chia-Ping Tsai <ch...@gmail.com>
Authored: Sat Aug 26 10:52:22 2017 +0800
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Sun Aug 27 18:58:35 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/8f290c35/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