MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -17,7 +17,7 @@ public class Roulette {
private BufferedReader reader;
private PrintStream writer;
private int house; // how much money does the house have
private int player; // how much money does the player have
private Wheel wheel = new Wheel();
@@ -156,7 +156,7 @@ public class Roulette {
HashSet<Integer> betsMade = new HashSet<>(); // Bet targets already made, so we can spot repeats
ArrayList<Bet> bets = new ArrayList<>(); // All the bets for this round
while (bets.size() < betCount) {
while (bets.size() < betCount) {
Bet bet = new Bet(0, 0); // an invalid bet to hold the place
while (!bet.isValid()) { // keep asking until it is valid
try {