You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ja...@apache.org on 2019/08/05 15:57:51 UTC
[hbase] branch master updated: HBASE-22789 Removed deprecated
method from ImmutableBytesWritable
This is an automated email from the ASF dual-hosted git repository.
janh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 3f524ab HBASE-22789 Removed deprecated method from ImmutableBytesWritable
3f524ab is described below
commit 3f524abdeb62f0c3f9e835b5f0cfcf8abe7373ab
Author: Jan Hentschel <ja...@ultratendency.com>
AuthorDate: Mon Aug 5 17:57:46 2019 +0200
HBASE-22789 Removed deprecated method from ImmutableBytesWritable
Signed-off-by: stack <st...@apache.org>
---
.../apache/hadoop/hbase/io/ImmutableBytesWritable.java | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
index d810c4a..23c4b96 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java
@@ -117,21 +117,6 @@ implements WritableComparable<ImmutableBytesWritable> {
/**
* @return the number of valid bytes in the buffer
- * @deprecated since 0.98.5. Use {@link #getLength()} instead
- * @see #getLength()
- * @see <a href="https://issues.apache.org/jira/browse/HBASE-11561">HBASE-11561</a>
- */
- @Deprecated
- public int getSize() {
- if (this.bytes == null) {
- throw new IllegalStateException("Uninitialiized. Null constructor " +
- "called w/o accompaying readFields invocation");
- }
- return this.length;
- }
-
- /**
- * @return the number of valid bytes in the buffer
*/
public int getLength() {
if (this.bytes == null) {