Cleaning up code

master
sgoudham 4 years ago
parent 7358240d7e
commit f2c7494743
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -52,7 +52,6 @@ public class Sevens extends Deck {
public void validatePlayerInput(String[] splitCard, Player player, TableHand tableHand, Scanner in) { public void validatePlayerInput(String[] splitCard, Player player, TableHand tableHand, Scanner in) {
// Check if the first element is of type integer
try { try {
Integer.parseInt(splitCard[0]); Integer.parseInt(splitCard[0]);
} catch (NumberFormatException e) { } catch (NumberFormatException e) {

Loading…
Cancel
Save