auto commit

This commit is contained in:
CyC2018
2018-08-23 21:37:51 +08:00
parent 8b330007d5
commit 762c3c698c
4 changed files with 8 additions and 8 deletions

View File

@ -1082,7 +1082,7 @@ false
```java
public boolean isNumeric(char[] str) {
if (str == null)
if (str == null || str.length == 0)
return false;
return new String(str).matches("[+-]?\\d*(\\.\\d+)?([eE][+-]?\\d+)?");
}