-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make String to Boolean parameter conversion more strict (#3178)
Cause use of anything other than `true` or `false` (case-insensitive) fail in conversion, to make potential typos explicitly visible (instead of implicitly just treating all else as `false`). Includes a few tests for failures on invalid values, for conversions handled by `StringToBooleanAndCharPrimitiveConverter`. Resolves #3177. Co-authored-by: Marc Philipp <mail@marcphilipp.de>
- Loading branch information
1 parent
75fbe27
commit f79e38b
Showing
4 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters