Fix crash
This commit is contained in:
parent
13251be6ab
commit
039e212666
1 changed files with 10 additions and 8 deletions
|
@ -835,6 +835,7 @@ public class MapUtils {
|
|||
}
|
||||
} else {
|
||||
if (digit){
|
||||
if (word != -1) {
|
||||
try {
|
||||
double dl = Double.parseDouble(s.substring(word, i));
|
||||
d.add(dl);
|
||||
|
@ -845,6 +846,7 @@ public class MapUtils {
|
|||
} catch (NumberFormatException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (nonwh) {
|
||||
if(!Character.isLetter(ch)) {
|
||||
if(word != -1) {
|
||||
|
|
Loading…
Reference in a new issue