Skip to content

Commit 7abf2bc

Browse files
author
Alex Klymenko
committed
checkstyle: fix import ordering
1 parent d0cb9b9 commit 7abf2bc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ private static class Node<T> {
1818
}
1919
}
2020

21-
private Node<T> front; // Front of the queue
22-
private Node<T> rear; // Rear of the queue
23-
private int size; // Size of the queue
21+
private Node<T> front; // Front of the queue
22+
private Node<T> rear; // Rear of the queue
23+
private int size; // Size of the queue
2424

2525
/**
2626
* Initializes an empty LinkedQueue.

src/test/java/com/thealgorithms/datastructures/queues/LinkedQueueTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
import static org.junit.jupiter.api.Assertions.assertFalse;
55
import static org.junit.jupiter.api.Assertions.assertTrue;
66

7-
import org.junit.jupiter.api.Test;
8-
import org.junit.jupiter.api.BeforeEach;
9-
import java.util.NoSuchElementException;
107
import java.util.Iterator;
8+
import java.util.NoSuchElementException;
9+
import org.junit.jupiter.api.BeforeEach;
10+
import org.junit.jupiter.api.Test;
1111

1212
class LinkedQueueTest {
1313

0 commit comments

Comments
 (0)