Fix incorrect property name in PooledByteBufAllocator

Motivation:

We hat a typo in the property name that is used in PooledByteBufAllocator.

Modifications:

Change from "...allocation.." to "...allocator.."

Result:

More consistent property naming
This commit is contained in:
Norman Maurer 2020-02-05 14:40:08 +01:00
parent f760b6af84
commit 0d4af6d9da

View File

@ -120,7 +120,7 @@ public class PooledByteBufAllocator extends AbstractByteBufAllocator implements
"io.netty.allocator.cacheTrimInterval", 8192);
DEFAULT_CACHE_TRIM_INTERVAL_MILLIS = SystemPropertyUtil.getLong(
"io.netty.allocation.cacheTrimIntervalMillis", 0);
"io.netty.allocator.cacheTrimIntervalMillis", 0);
DEFAULT_USE_CACHE_FOR_ALL_THREADS = SystemPropertyUtil.getBoolean(
"io.netty.allocator.useCacheForAllThreads", false);