Commit 0f2649ca authored by yanzg's avatar yanzg

将源码打包进jar包

parent 8fe66651
......@@ -25,6 +25,7 @@ public class StringHelper {
public static final String TYPE_FLOAT = "float";
public static final String TYPE_DOUBLE = "double";
public static final String TYPE_INT = "int";
public static final String TYPE_LONG = "long";
public static final String TYPE_BOOL = "boolean";
public static final String TYPE_OBJECT = "System.Object";
public static final String UNDER_FLAG = "_";
......@@ -405,6 +406,9 @@ public class StringHelper {
} else if (TYPE_INT.equals(vName)
|| (isType(cls, Integer.class) && from != null)) {
to = toInt(from);
} else if (TYPE_LONG.equals(vName)
|| (isType(cls, Long.class) && from != null)) {
to = toInt(from);
} else if (TYPE_DOUBLE.equals(vName) ||
(isType(cls, Double.class) && from != null)) {
to = toDouble(from);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment