From 373b2ba4f16bfc5a85fe916d5bd1e3b6b046d97d Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Tue, 12 Apr 2016 19:34:54 +0200 Subject: [PATCH] Fix typo in exception message Motivation: Typo in exception message. Modifications: Fix the typo. Result: No more typo. --- .../src/main/java/io/netty/buffer/PooledByteBufAllocator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java b/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java index b270432fa0..f3b31259ba 100644 --- a/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java +++ b/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java @@ -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) {