Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Replace with isEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangerCoug committed Sep 2, 2023
1 parent ba2256e commit d672b58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ public Card dealCard() {
}

public boolean isEmpty() {
return cards.size() == 0;
return cards.isEmpty();
}
}

0 comments on commit d672b58

Please sign in to comment.