Simple fix typo (#10403)
Motivation: Wrong typo in annotation at line 925. Modifications: Fix typo. *then -> than. Result: Fix typo.
This commit is contained in:
parent
77101ab8af
commit
9da40ec311
@ -922,7 +922,7 @@ public final class PlatformDependent {
|
||||
}
|
||||
|
||||
static <T> Queue<T> newMpscQueue(final int maxCapacity) {
|
||||
// Calculate the max capacity which can not be bigger then MAX_ALLOWED_MPSC_CAPACITY.
|
||||
// Calculate the max capacity which can not be bigger than MAX_ALLOWED_MPSC_CAPACITY.
|
||||
// This is forced by the MpscChunkedArrayQueue implementation as will try to round it
|
||||
// up to the next power of two and so will overflow otherwise.
|
||||
final int capacity = max(min(maxCapacity, MAX_ALLOWED_MPSC_CAPACITY), MIN_MAX_MPSC_CAPACITY);
|
||||
|
Loading…
Reference in New Issue
Block a user