HBASE-22789 Removed deprecated method from ImmutableBytesWritable

Signed-off-by: stack <stack@apache.org>
This commit is contained in:
Jan Hentschel 2019-08-05 17:57:46 +02:00 committed by GitHub
parent da114ac727
commit 3f524abdeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -115,21 +115,6 @@ implements WritableComparable<ImmutableBytesWritable> {
this.length = length;
}
/**
* @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
*/