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 d810c4ae9aa..23c4b96e27a 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 @@ -115,21 +115,6 @@ implements WritableComparable { this.length = length; } - /** - * @return the number of valid bytes in the buffer - * @deprecated since 0.98.5. Use {@link #getLength()} instead - * @see #getLength() - * @see HBASE-11561 - */ - @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 */