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 bb3bf5dc2f
commit 373b2ba4f1

View File

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