Fix typo in exception message

Motivation:

Typo in exception message.

Modifications:

Fix the typo.

Result:

No more typo.
This commit is contained in:
Norman Maurer 2016-04-12 19:34:54 +02:00
parent 0b078314b2
commit 2537880e5d

View File

@ -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) {