HBASE-8781 ImmutableBytesWritable constructor with another IBW as param need to consider the offset of the passed IBW
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1499804 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eed3a47343
commit
ae7685310b
|
@ -71,7 +71,7 @@ implements WritableComparable<ImmutableBytesWritable> {
|
|||
* @param ibw the value to set this ImmutableBytesWritable to.
|
||||
*/
|
||||
public ImmutableBytesWritable(final ImmutableBytesWritable ibw) {
|
||||
this(ibw.get(), 0, ibw.getSize());
|
||||
this(ibw.get(), ibw.getOffset(), ibw.getSize());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue