Since lang.NumberUtils is deprecated, I don't see a point in making any modifications to it.




Fredrik Westermarck wrote:


Hi!

How about removing tha code in o.a.c.lang.NumberUtils and dispatching calls to the corresponding method in o.a.c.lang.math.NumberUtils instead?

Maybe not all methods can be changed this way since nullhandling and throwing of exceptions may have changed.

After having a quick look it seems as the following methods in in o.a.c.lang.NumberUtils could be changed this way:

- stringToInt(String)/stringToInt(String, int)
- isAllZeros(String)
- minimum(long, long, long)/minimum(int, int, int)
- maximum(long, long, long)/maximum(int, int, int)
- compare(double, double)/compare(float, float)
- isDigits(String)
- isNumber(String)



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to