Skip to content

Commit f6977c7

Browse files
armeetjphrdang
andauthored
Update src/com/codefortomorrow/advanced/chapter16/solutions/LinkedList.java
Co-authored-by: Rebecca Dang <[email protected]>
1 parent e92fb41 commit f6977c7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/com/codefortomorrow/advanced/chapter16/solutions/LinkedList.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public void add(int value) {
7575
LinkedListNode tail = tail();
7676
if (tail == null) {
7777
head = new LinkedListNode(value, null);
78-
return;
7978
}
8079

8180
tail.setNext(new LinkedListNode(value, null));

0 commit comments

Comments
 (0)