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
dbee8c9b89
commit
5e0617e49e
@ -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) {
|
||||
return allocate(cacheForNormal(area, sizeIdx), buf, reqCapacity);
|
||||
|
Loading…
Reference in New Issue
Block a user