Skip to content

Commit 8017009

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public String toString() {
110110
LinkedListNode current = head;
111111
if (current == null) return null;
112112
do {
113-
list += Integer.toString(current.getValue()) + ", ";
113+
list += Integer.toString(current.value()) + ", ";
114114
current = current.getNext();
115115
} while (current != null);
116116

0 commit comments

Comments
 (0)