Description
/** * Set the new ImmutableBytesWritable to the contents of the passed * <code>ibw</code>. * @param ibw the value to set this ImmutableBytesWritable to. */ public ImmutableBytesWritable(final ImmutableBytesWritable ibw) { this(ibw.get(), 0, ibw.getSize()); }
It should be this(ibw.get(), ibw.getOffset(), ibw.getSize());
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-9427 Copy constructor of ImmutableBytesWritable needs to consider the offset
- Closed