Skip to content

Commit 34347a3

Browse files
committed
HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov)
1 parent f57dca5 commit 34347a3

File tree

1 file changed

+2
-2
lines changed
  • hbase-client/src/main/java/org/apache/hadoop/hbase/client

1 file changed

+2
-2
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ public Delete addFamily(final byte [] family, final long timestamp) {
253253
* @param family family name
254254
* @param timestamp version timestamp
255255
* @return this for invocation chaining
256+
* @deprecated Since hbase-1.0.0. Use {@link #addFamilyVersion(byte[], long)}
256257
*/
258+
@Deprecated
257259
public Delete deleteFamilyVersion(byte [] family, long timestamp) {
258260
return addFamilyVersion(family, timestamp);
259261
}
@@ -264,9 +266,7 @@ public Delete deleteFamilyVersion(byte [] family, long timestamp) {
264266
* @param family family name
265267
* @param timestamp version timestamp
266268
* @return this for invocation chaining
267-
* @deprecated Since hbase-1.0.0. Use {@link #addFamilyVersion(byte[], long)}
268269
*/
269-
@Deprecated
270270
public Delete addFamilyVersion(final byte [] family, final long timestamp) {
271271
List<Cell> list = familyMap.get(family);
272272
if(list == null) {

0 commit comments

Comments
 (0)