Skip to content

Commit cc0980c

Browse files
authored
Update DoublyLinkedList.java
1 parent 3562e83 commit cc0980c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DataStructures/Lists/DoublyLinkedList.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public DoublyLinkedList(){
3434
*/
3535
public DoublyLinkedList(int[] array){
3636
if (array == null) throw new NullPointerException();
37-
for (int i:array) {
38-
insertTail(i);
39-
}
37+
for (int i:array) {
38+
insertTail(i);
39+
}
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)