You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/12/17 22:43:42 UTC

hbase git commit: HBASE-12625 Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1

Repository: hbase
Updated Branches:
  refs/heads/branch-1 476bd4071 -> d92e68652


HBASE-12625 Deprecate certain methods in classes annotated with InterfaceAudience.Public in branch-1


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

Branch: refs/heads/branch-1
Commit: d92e686520cc504100e7dfdbd047070d8ac362df
Parents: 476bd40
Author: tedyu <yu...@gmail.com>
Authored: Wed Dec 17 13:43:34 2014 -0800
Committer: tedyu <yu...@gmail.com>
Committed: Wed Dec 17 13:43:34 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/CellUtil.java   | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d92e6865/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
index 0e5dfcd..18ddf83 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java
@@ -500,6 +500,16 @@ public final class CellUtil {
   /**
    * @param cell
    * @return Estimate of the <code>cell</code> size in bytes.
+   * @deprecated please use estimatedSerializedSizeOf(Cell)
+   */
+  @Deprecated
+  public static int estimatedSizeOf(final Cell cell) {
+    return estimatedSerializedSizeOf(cell);
+  }
+
+  /**
+   * @param cell
+   * @return Estimate of the <code>cell</code> size in bytes.
    */
   public static int estimatedSerializedSizeOf(final Cell cell) {
     // If a KeyValue, we can give a good estimate of size.