rootvector2 commented on PR #431:
URL: https://github.com/apache/commons-cli/pull/431#issuecomment-5001740409

   the rejected forms are not really decimal formats, they are Java literal 
syntax leaking through `Double.valueOf`: hex float (`0x1.8p1` parses to 3.0), 
the `d`/`f` type suffixes, and padded whitespace. every plain decimal and 
scientific value (`3.14`, `-.5`, `1.2e3`) parses exactly as before, so nothing 
a user would type as a decimal changes. the advantage is consistent validation 
at the conversion boundary: the `Long` branch already rejects `0x10` and `" 15 
"`, so today strictness depends on whether the value happens to contain a dot. 
that said, it is a behavior tightening, so if you would rather keep the 
leniency I am fine closing this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to