You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix erroneous check in ArgParser whereby there would always be an IllegalArgumentException for the error cause.
The logic behind setting the exception cause could never yield true as the requirements were impossible to meet within the enclosing if block. This logic has been simplified to only check for the existence of a String error message returned from the rangeCheck function instead.
Changes
Remove the need to wrap returned values in parsers with Optional.
Instead, you now return the parameter directly, or null, rather than e.g. Optional.ofNullable(value).