Skip to content

Commit 9ac981a

Browse files
committed
fix:Lesson_12 bug in stack.java
1 parent 2e5eec7 commit 9ac981a

File tree

1 file changed

+1
-1
lines changed
  • lesson_12/structs_java/structs_app/src/main/java/com/codedifferently/lesson12

1 file changed

+1
-1
lines changed

lesson_12/structs_java/structs_app/src/main/java/com/codedifferently/lesson12/Stack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public int peek() {
2727
}
2828

2929
public boolean isEmpty() {
30-
return top == null
30+
return top ==null;
3131
}
3232
}

0 commit comments

Comments
 (0)