fixed compile warnnings

This commit is contained in:
wenshao
2013-04-08 00:42:54 +08:00
parent f91bdfcf53
commit 36da8f2c34
@@ -962,6 +962,7 @@ public class SQLEvalVisitorUtils {
return ((Number) val).shortValue();
}
@SuppressWarnings("rawtypes")
public static Integer castToInteger(Object val) {
if (val == null) {
return null;
@@ -985,6 +986,7 @@ public class SQLEvalVisitorUtils {
return ((Number) val).intValue();
}
@SuppressWarnings("rawtypes")
public static Long castToLong(Object val) {
if (val == null) {
return null;