Use Guava Preconditions API for method-level argument validation
Open
wish
- Dominant language
- Java
- Stars
- 200
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
This is a clean API that Google provides in Guava for specifying argument requirements in methods.
While reviewing a pull request from Mike Walch, I noticed there were a bunch of places in the API where valid arguments can be a little easier to see at first glance if we used Preconditions.
Contributor guide
Assessment
This issue has not been assessed yet.