hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chia7...@apache.org
Subject hbase git commit: HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type
Date Sun, 27 Aug 2017 11:01:56 GMT
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 <chia7712@gmail.com>
Authored: Sat Aug 26 10:52:22 2017 +0800
Committer: Chia-Ping Tsai <chia7712@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


Mime
View raw message