HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type
This commit is contained in:
parent
483c42a756
commit
8f290c35b7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue