Fix typo in exception message
Motivation: Typo in exception message. Modifications: Fix the typo. Result: No more typo.
This commit is contained in:
parent
0b078314b2
commit
2537880e5d
@ -209,7 +209,7 @@ public class PooledByteBufAllocator extends AbstractByteBufAllocator {
|
|||||||
|
|
||||||
private static int validateAndCalculatePageShifts(int pageSize) {
|
private static int validateAndCalculatePageShifts(int pageSize) {
|
||||||
if (pageSize < MIN_PAGE_SIZE) {
|
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) {
|
if ((pageSize & pageSize - 1) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user