HBASE-4768 Addendum removes unnecessary assertion

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1202419 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-11-15 20:57:35 +00:00
parent 3f423daca0
commit 0ab2272833
1 changed files with 0 additions and 1 deletions

View File

@ -501,7 +501,6 @@ public class TestHFileBlock {
ByteBuffer buf = ByteBuffer.wrap(byteArr, 0, size); ByteBuffer buf = ByteBuffer.wrap(byteArr, 0, size);
HFileBlock block = new HFileBlock(BlockType.DATA, size, size, -1, buf, HFileBlock block = new HFileBlock(BlockType.DATA, size, size, -1, buf,
true, -1); true, -1);
assertEquals(80, HFileBlock.BYTE_BUFFER_HEAP_SIZE);
long byteBufferExpectedSize = long byteBufferExpectedSize =
ClassSize.align(ClassSize.estimateBase(buf.getClass(), true) ClassSize.align(ClassSize.estimateBase(buf.getClass(), true)
+ HFileBlock.HEADER_SIZE + size); + HFileBlock.HEADER_SIZE + size);