hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-13274 Fix misplaced deprecation in Delete#addXYZ (Mikhail Antonov)
Date Fri, 20 Mar 2015 16:43:09 GMT
Repository: hbase
Updated Branches:
  refs/heads/master f57dca5e1 -> 34347a363


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/34347a36
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/34347a36
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/34347a36

Branch: refs/heads/master
Commit: 34347a36399de5496119a692379de46551b07103
Parents: f57dca5
Author: stack <stack@apache.org>
Authored: Fri Mar 20 09:43:56 2015 -0700
Committer: stack <stack@apache.org>
Committed: Fri Mar 20 09:43:56 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/client/Delete.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/34347a36/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
index d947ef8..86c2462 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Delete.java
@@ -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) {


Mime
View raw message