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

Enhancement: The library should defensively check input arguments #70

Closed
bbottema opened this issue Mar 11, 2017 · 1 comment
Closed
Assignees
Milestone

Comments

@bbottema
Copy link
Owner

A lot of places now have @nonnull and @nullable annotations to provide hints to static analyses tools, but this doesn't add any value in runtime conditions.

It would be nice if Simple Java Mail implemented defensive null/empty checks on all required parameters, so we can Fail Fast.
Annotations

@bbottema
Copy link
Owner Author

Released in v4.2.0.

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

No branches or pull requests

1 participant