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

@@ -42,4 +42,4 @@ final class Basic {
System.out.printf(message, args);
}
}
}
}

View File

@@ -7,9 +7,9 @@
* <p>
*/
public class Boxing {
private static final Basic.Console console = new Basic.Console();
private GameSession session;
public void play() {
@@ -224,4 +224,4 @@ public class Boxing {
console.print(" CREATIVE COMPUTING MORRISTOWN, NEW JERSEY\n\n\n");
console.print("BOXING OLYMPIC STYLE (3 ROUNDS -- 2 OUT OF 3 WINS)\n\n");
}
}
}

View File

@@ -64,4 +64,4 @@ public class GameSession {
public boolean isPlayerKnocked() {
return knocked;
}
}
}

View File

@@ -39,4 +39,4 @@ public class Player {
public boolean hitVulnerability(Punch punch) {
return vulnerability == punch;
}
}
}