commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Westermarck <fredrik.westerma...@mdh.se>
Subject [lang] Removing code from deprecated NumberUtils
Date Wed, 24 Sep 2003 20:58:25 GMT
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)




Mime
View raw message