Fix typo in exception message
Motivation: Typo in exception message. Modifications: Fix the typo. Result: No more typo.
This commit is contained in:
parent
bb3bf5dc2f
commit
373b2ba4f1
@ -218,7 +218,7 @@ public class PooledByteBufAllocator extends AbstractByteBufAllocator {
|
||||
|
||||
private static int validateAndCalculatePageShifts(int pageSize) {
|
||||
if (pageSize < MIN_PAGE_SIZE) {
|
||||
throw new IllegalArgumentException("pageSize: " + pageSize + " (expected: " + MIN_PAGE_SIZE + "+)");
|
||||
throw new IllegalArgumentException("pageSize: " + pageSize + " (expected: " + MIN_PAGE_SIZE + ")");
|
||||
}
|
||||
|
||||
if ((pageSize & pageSize - 1) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user