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

This commit is contained in:
Chia-Ping Tsai 2017-08-26 10:52:22 +08:00
parent 483c42a756
commit 8f290c35b7
1 changed files with 2 additions and 4 deletions

View File

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