aherbert commented on pull request #727:
URL: https://github.com/apache/commons-lang/pull/727#issuecomment-790912955


   The value `5D0` may be valid hex digits but what are you going to do with 
that fact? If you want to create a number with it then nothing in NumberUtils 
or the Java language will make a number from that string value. They all 
require that the string is marked with a prefix to identify it should be parsed 
as hex.
   
   For example the following is valid hex `444` but if you parse it as `0x444` 
and `444` you get different numbers.
   
   So what is the use case for a method that identifies if a string has only 
valid hexidecimal digits and optionally a minus and a hex prefix?


----------------------------------------------------------------
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.

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


Reply via email to