HBASE-10116 Addendum: fix findbugs warning

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ndimiduk 2013-12-12 20:46:12 +00:00
parent 1fb985103d
commit 2124f4054d
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ public class SlabCache implements SlabItemActionWatcher, BlockCache, HeapSize {
private void addSlab(int blockSize, int numBlocks) { private void addSlab(int blockSize, int numBlocks) {
LOG.info("Creating a slab of blockSize " + blockSize + " with " + numBlocks LOG.info("Creating a slab of blockSize " + blockSize + " with " + numBlocks
+ " blocks, " + StringUtils.humanReadableInt(blockSize * numBlocks) + "bytes."); + " blocks, " + StringUtils.humanReadableInt(blockSize * (long) numBlocks) + "bytes.");
sizer.put(blockSize, new SingleSizeCache(blockSize, numBlocks, this)); sizer.put(blockSize, new SingleSizeCache(blockSize, numBlocks, this));
} }