Skip to content

Commit 63c0312

Browse files
author
Alex Klymenko
committed
checkstyle: fix formatting
1 parent 1bcb78f commit 63c0312

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/main/java/com/thealgorithms/datastructures/queues/CircularQueue.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,28 +73,28 @@ public int size() {
7373

7474
public static void main(String[] args) {
7575
CircularQueue<Integer> cq = new CircularQueue<>(5);
76-
System.out.println(cq.isEmpty()); // true
77-
System.out.println(cq.isFull()); // false
76+
System.out.println(cq.isEmpty()); // true
77+
System.out.println(cq.isFull()); // false
7878
cq.enQueue(1);
7979
cq.enQueue(2);
8080
cq.enQueue(3);
8181
cq.enQueue(4);
8282
cq.enQueue(5);
8383

84-
System.out.println(cq.deQueue()); // 1
85-
System.out.println(cq.deQueue()); // 2
86-
System.out.println(cq.deQueue()); // 3
87-
System.out.println(cq.deQueue()); // 4
88-
System.out.println(cq.deQueue()); // 5
84+
System.out.println(cq.deQueue()); // 1
85+
System.out.println(cq.deQueue()); // 2
86+
System.out.println(cq.deQueue()); // 3
87+
System.out.println(cq.deQueue()); // 4
88+
System.out.println(cq.deQueue()); // 5
8989

90-
System.out.println(cq.isFull()); // false
91-
System.out.println(cq.isEmpty()); // true
90+
System.out.println(cq.isFull()); // false
91+
System.out.println(cq.isEmpty()); // true
9292
cq.enQueue(6);
9393
cq.enQueue(7);
9494
cq.enQueue(8);
9595

96-
System.out.println(cq.peek()); // 6
97-
System.out.println(cq.peek()); // 6
96+
System.out.println(cq.peek()); // 6
97+
System.out.println(cq.peek()); // 6
9898

9999
cq.deleteQueue();
100100
}

0 commit comments

Comments
 (0)