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:52 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 676fb753d -> b83e3ac77


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/b83e3ac7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b83e3ac7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b83e3ac7

Branch: refs/heads/branch-1
Commit: b83e3ac7707dcaa4932561c5c1bf78e3d0dc5d3d
Parents: 676fb75
Author: stack <stack@apache.org>
Authored: Fri Mar 20 09:43:56 2015 -0700
Committer: stack <stack@apache.org>
Committed: Fri Mar 20 09:44:38 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/b83e3ac7/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 4bbcb27..bdacf93 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