Allowed access to DirectBufferPool.acquire(int)

This commit is contained in:
Trustin Lee 2010-01-28 02:54:12 +00:00
parent bddfdba415
commit e9b8f6b2d7

View File

@ -43,7 +43,7 @@ final class DirectBufferPool {
return dst;
}
private final ByteBuffer acquire(int size) {
final ByteBuffer acquire(int size) {
for (int i = 0; i < POOL_SIZE; i ++) {
SoftReference<ByteBuffer> ref = pool[i];
if (ref == null) {