Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmitch committed Jul 1, 2022
1 parent 68bdf4c commit 1759879
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,9 @@ static <T> Queue<T> newMpscQueue(final int initialCapacity, final int maxCapacit
}

static <T> Queue<T> newUnboundedMpscQueue(final int initialCapacity) {
return USE_UNSAFE_QUEUES ? new MpscUnboundedUnpaddedArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity))
: new MpscUnboundedAtomicArrayQueue<>(
max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity));
return USE_UNSAFE_QUEUES ?
new MpscUnboundedUnpaddedArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity)) :
new MpscUnboundedAtomicArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity));
}

static <T> Queue<T> newUnboundedLinkedMpscQueue() {
Expand Down

0 comments on commit 1759879

Please sign in to comment.