Skip to content

Commit 259eeb5

Browse files
committed
oups
1 parent 0a72587 commit 259eeb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/queue-utils/src/main/java/datadog/common/queue/BaseQueue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ abstract class BaseQueue<E> extends AbstractQueue<E> implements NonBlockingQueue
5858
@SuppressWarnings("unused")
5959
private long r0, r1, r2, r3, r4, r5, r6;
6060

61-
public BaseQueue(int capacity) {
62-
this.capacity = nextPowerOfTwo(capacity);
61+
public BaseQueue(int requestedCapacity) {
62+
this.capacity = nextPowerOfTwo(requestedCapacity);
6363
this.mask = this.capacity - 1;
6464
this.buffer = new Object[capacity];
6565
}

0 commit comments

Comments
 (0)