Skip to content

Commit

Permalink
HBASE-22789 Removed deprecated method from ImmutableBytesWritable
Browse files Browse the repository at this point in the history
Signed-off-by: stack <stack@apache.org>
  • Loading branch information
HorizonNet authored Aug 5, 2019
1 parent da114ac commit 3f524ab
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,21 +115,6 @@ public void set(final byte [] b, final int offset, final int length) {
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
*/
Expand Down

0 comments on commit 3f524ab

Please sign in to comment.