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

Add more precondition variants #443

Merged
merged 1 commit into from
Nov 14, 2020

Conversation

chrisrohr
Copy link
Contributor

Add variants that accept an error message and error message template with arguments for the following methods:

  • checkPositive (both int and long)
  • checkPositiveOrZero (both int and long)
  • requirePositive (both int and long)
  • requirePositiveOrZero (both int and long)
  • checkValidPort
  • checkValidNonZeroPort

Add variants that accept an error message and error message template with arguments for the following methods:

* checkPositive (both int and long)
* checkPositiveOrZero (both int and long)
* requirePositive (both int and long)
* requirePositiveOrZero (both int and long)
* checkValidPort
* checkValidNonZeroPort
@chrisrohr chrisrohr added this to the 0.15.0 milestone Nov 14, 2020
@sleberknight sleberknight merged commit 4e699dd into master Nov 14, 2020
@sleberknight sleberknight deleted the add-more-variants-to-preconditions branch November 14, 2020 22:21
@sleberknight sleberknight added the enhancement A request for change or improvement to an existing feature label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request for change or improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants