Fix incorrect comment in code (#11029)
Motivation: Comment on method is outdated / incorrect. Modification: Adjust comment Result: Correct docs
This commit is contained in:
parent
fe041e8e43
commit
329dae1ec5
@ -152,7 +152,7 @@ final class PoolThreadCache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to allocate a small buffer out of the cache. Returns {@code true} if successful {@code false} otherwise
|
* Try to allocate a normal buffer out of the cache. Returns {@code true} if successful {@code false} otherwise
|
||||||
*/
|
*/
|
||||||
boolean allocateNormal(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) {
|
boolean allocateNormal(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) {
|
||||||
return allocate(cacheForNormal(area, sizeIdx), buf, reqCapacity);
|
return allocate(cacheForNormal(area, sizeIdx), buf, reqCapacity);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user