Javadoc update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9397608dd3
commit
3269d1bc7a
|
@ -1332,6 +1332,7 @@ public class NumberUtils {
|
||||||
*
|
*
|
||||||
* @param str the <code>String</code> to check
|
* @param str the <code>String</code> to check
|
||||||
* @return <code>true</code> if the string is a correctly formatted number
|
* @return <code>true</code> if the string is a correctly formatted number
|
||||||
|
* @since 3.3 the code supports hex {@code 0Xhhh} and octal {@code 0ddd} validation
|
||||||
*/
|
*/
|
||||||
public static boolean isNumber(final String str) {
|
public static boolean isNumber(final String str) {
|
||||||
if (StringUtils.isEmpty(str)) {
|
if (StringUtils.isEmpty(str)) {
|
||||||
|
|
Loading…
Reference in New Issue