HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov)
This commit is contained in:
parent
676fb753d9
commit
b83e3ac770
|
@ -253,7 +253,9 @@ public class Delete extends Mutation implements Comparable<Row> {
|
|||
* @param family family name
|
||||
* @param timestamp version timestamp
|
||||
* @return this for invocation chaining
|
||||
* @deprecated Since hbase-1.0.0. Use {@link #addFamilyVersion(byte[], long)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Delete deleteFamilyVersion(byte [] family, long timestamp) {
|
||||
return addFamilyVersion(family, timestamp);
|
||||
}
|
||||
|
@ -264,9 +266,7 @@ public class Delete extends Mutation implements Comparable<Row> {
|
|||
* @param family family name
|
||||
* @param timestamp version timestamp
|
||||
* @return this for invocation chaining
|
||||
* @deprecated Since hbase-1.0.0. Use {@link #addFamilyVersion(byte[], long)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Delete addFamilyVersion(final byte [] family, final long timestamp) {
|
||||
List<Cell> list = familyMap.get(family);
|
||||
if(list == null) {
|
||||
|
|
Loading…
Reference in New Issue