use NumberUtils.isCreatable instead of deprecated NumberUtils.isNumber

This commit is contained in:
Aleksandr Mashchenko
2018-02-06 18:22:40 +02:00
parent eed364fe28
commit 6ae63d7669
@@ -161,7 +161,7 @@ public abstract class AbstractMatcher<E> implements Serializable {
//the values map will contain entries like name->"Lex Luthor" and 1->"Lex Luthor"
//now add the non-numeric values
for (Map.Entry<String,String> entry: vars.entrySet()) {
if (!NumberUtils.isNumber(entry.getKey())) {
if (!NumberUtils.isCreatable(entry.getKey())) {
map.put(entry.getKey(), entry.getValue());
}
}