mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -16,7 +16,7 @@ public class Bet {
|
||||
return ((target > 0) && (target <= 50) &&
|
||||
(amount >= 5) && (amount <= 500));
|
||||
}
|
||||
|
||||
|
||||
/* utility to return either the odds amount in the case of a win, or zero for a loss */
|
||||
private int m(boolean isWon, int odds) {
|
||||
return isWon? odds: 0;
|
||||
|
||||
Reference in New Issue
Block a user