HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov)

This commit is contained in:
stack 2015-03-20 09:43:56 -07:00
parent 676fb753d9
commit b83e3ac770
1 changed files with 2 additions and 2 deletions

View File

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