From 2537880e5d9f790b622a7268057f91d8599b81e2 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 7869e7fab5..9fbcce999a 100644 --- a/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java +++ b/buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java @@ -209,7 +209,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) {