提交 64b5bea3 authored 作者: noelgrandin's avatar noelgrandin

remove unused parameter

上级 8f7d9656
......@@ -381,7 +381,7 @@ public class FunctionAlias extends SchemaObjectBase {
}
} else {
if (!paramClass.isAssignableFrom(o.getClass()) && !paramClass.isPrimitive()) {
o = DataType.convertTo(session, session.createConnection(false), v, paramClass);
o = DataType.convertTo(session.createConnection(false), v, paramClass);
}
}
if (currentIsVarArg) {
......
......@@ -1052,13 +1052,12 @@ public class DataType {
/**
* Convert a value to the specified class.
*
* @param session the session
* @param conn the database connection
* @param v the value
* @param paramClass the target class
* @return the converted object
*/
public static Object convertTo(SessionInterface session, JdbcConnection conn, Value v, Class<?> paramClass) {
public static Object convertTo(JdbcConnection conn, Value v, Class<?> paramClass) {
if (paramClass == Blob.class) {
return new JdbcBlob(conn, v, 0);
} else if (paramClass == Clob.class) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论