This is an automated email from the ASF dual-hosted git repository. amashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/master by this push: new 6ae63d7 use NumberUtils.isCreatable instead of deprecated NumberUtils.isNumber 6ae63d7 is described below commit 6ae63d7669ce00afc3db99359193efe3db8d6df3 Author: Aleksandr Mashchenko <amashche...@apache.org> AuthorDate: Tue Feb 6 18:22:40 2018 +0200 use NumberUtils.isCreatable instead of deprecated NumberUtils.isNumber --- .../main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java b/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java index d75a39b..3b3b74b 100644 --- a/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java +++ b/core/src/main/java/com/opensymphony/xwork2/config/impl/AbstractMatcher.java @@ -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()); } } -- To stop receiving notification emails like this one, please contact amashche...@apache.org.