Skip to content

Commit 3f524ab

Browse files
authored
HBASE-22789 Removed deprecated method from ImmutableBytesWritable
Signed-off-by: stack <[email protected]>
1 parent da114ac commit 3f524ab

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/io/ImmutableBytesWritable.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,6 @@ public void set(final byte [] b, final int offset, final int length) {
115115
this.length = length;
116116
}
117117

118-
/**
119-
* @return the number of valid bytes in the buffer
120-
* @deprecated since 0.98.5. Use {@link #getLength()} instead
121-
* @see #getLength()
122-
* @see <a href="https://issues.apache.org/jira/browse/HBASE-11561">HBASE-11561</a>
123-
*/
124-
@Deprecated
125-
public int getSize() {
126-
if (this.bytes == null) {
127-
throw new IllegalStateException("Uninitialiized. Null constructor " +
128-
"called w/o accompaying readFields invocation");
129-
}
130-
return this.length;
131-
}
132-
133118
/**
134119
* @return the number of valid bytes in the buffer
135120
*/

0 commit comments

Comments
 (0)