Fix typo in log message during static init of Recycler.
Motivation: Fix a typo in the log message of the static initializer of Recycler. Modifications: Fix typo. Result: Correctly log system property io.netty.recycler.maxCapacity.
This commit is contained in:
parent
ebfb2832b2
commit
b26652a934
@ -63,9 +63,9 @@ public abstract class Recycler<T> {
|
||||
DEFAULT_MAX_CAPACITY = maxCapacity;
|
||||
if (logger.isDebugEnabled()) {
|
||||
if (DEFAULT_MAX_CAPACITY == 0) {
|
||||
logger.debug("-Dio.netty.recycler.maxCapacity.maxCapacity: disabled");
|
||||
logger.debug("-Dio.netty.recycler.maxCapacity: disabled");
|
||||
} else {
|
||||
logger.debug("-Dio.netty.recycler.maxCapacity.maxCapacity: {}", DEFAULT_MAX_CAPACITY);
|
||||
logger.debug("-Dio.netty.recycler.maxCapacity: {}", DEFAULT_MAX_CAPACITY);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user