Skip to content

Commit 1759879

Browse files
committed
checkstyle
1 parent 68bdf4c commit 1759879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servicetalk-utils-internal/src/main/java/io/servicetalk/utils/internal/PlatformDependent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ static <T> Queue<T> newMpscQueue(final int initialCapacity, final int maxCapacit
316316
}
317317

318318
static <T> Queue<T> newUnboundedMpscQueue(final int initialCapacity) {
319-
return USE_UNSAFE_QUEUES ? new MpscUnboundedUnpaddedArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity))
320-
: new MpscUnboundedAtomicArrayQueue<>(
321-
max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity));
319+
return USE_UNSAFE_QUEUES ?
320+
new MpscUnboundedUnpaddedArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity)) :
321+
new MpscUnboundedAtomicArrayQueue<>(max(MIN_ALLOWED_MPSC_CHUNK_SIZE, initialCapacity));
322322
}
323323

324324
static <T> Queue<T> newUnboundedLinkedMpscQueue() {

0 commit comments

Comments
 (0)