From bec91c734689d76738e51de81d1da764848ddaec Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 15 Aug 2016 18:52:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=20=E4=BE=9D=E8=B5=96lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java b/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java index 084ace48fe..8d58515ce6 100644 --- a/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java +++ b/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java @@ -195,7 +195,7 @@ public class ActiveKeyGenerator { //获取char对应的int值 private static int getCharIntValue(char charStr){ - if (!StableUtils.isNum(charStr)) { + if (!BaseUtils.isNum(charStr)) { return 0; } return Character.getNumericValue(charStr); From 8ce3b33f62123d75b057de261be0bdb0058555ff Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 15 Aug 2016 18:53:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=20=E4=BE=9D=E8=B5=96lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java b/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java index 8d58515ce6..39c3faf9f4 100644 --- a/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java +++ b/designer/src/com/fr/design/mainframe/ActiveKeyGenerator.java @@ -198,6 +198,7 @@ public class ActiveKeyGenerator { if (!BaseUtils.isNum(charStr)) { return 0; } + return Character.getNumericValue(charStr); }