Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove asserts from code #995

Open
ivankelly opened this issue Jan 17, 2018 · 0 comments · May be fixed by #4304
Open

Remove asserts from code #995

ivankelly opened this issue Jan 17, 2018 · 0 comments · May be fixed by #4304

Comments

@ivankelly
Copy link
Contributor

We currently assert in production code in a few places. These are disabled at runtime, and so have little value. We should replace these with thrown exceptions, or crash the bookie if they are serious enough.

We should also add a checkstyle rule to forbid them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants