Skip to content

Commit 36b8b98

Browse files
committed
Fix
1 parent a34c4b5 commit 36b8b98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/thealgorithms/datastructures/lists/RotateSinglyLinkedListsTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ public class RotateSinglyLinkedListsTest {
1515

1616
// Helper method to create a linked list from an array of values
1717
private Node createLinkedList(int[] values) {
18-
if (values.length == 0) return null;
18+
if (values.length == 0) {
19+
return null;
20+
}
1921

2022
Node head = new Node(values[0]);
2123
Node current = head;

0 commit comments

Comments
 (0)