Skip to content

Commit 8628055

Browse files
committed
style: reformat comment in IntQueue
1 parent 7940259 commit 8628055

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • src/main/java/com/williamfiset/algorithms/datastructures/queue

src/main/java/com/williamfiset/algorithms/datastructures/queue/IntQueue.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ public class IntQueue implements Queue<Integer> {
2525
private int size;
2626
private int mask; // capacity - 1, for fast modulo via bitwise AND (requires power-of-2 capacity)
2727

28-
// maxSize is the maximum number of items
29-
// that can be in the queue at any given time.
28+
// maxSize is the maximum number of items that can be in the queue at any given time.
3029
// Actual capacity is rounded up to the next power of 2 for fast wrapping.
3130
public IntQueue(int maxSize) {
3231
int capacity = 1;

0 commit comments

Comments
 (0)