Skip to content

Commit 1e97375

Browse files
committed
Fix build
1 parent 38e01f7 commit 1e97375

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/com/thealgorithms/datastructures/stacks/NodeStack.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ public Item pop() {
3737

3838
Item item = head.data;
3939
head = head.previous;
40-
if (head != null) {
41-
}
42-
4340
size--;
4441
return item;
4542
}

0 commit comments

Comments
 (0)