提交 cc29aa7f authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 2ce30790
...@@ -30,7 +30,7 @@ import org.h2.util.StringUtils; ...@@ -30,7 +30,7 @@ import org.h2.util.StringUtils;
public class WebServlet extends HttpServlet { public class WebServlet extends HttpServlet {
private static final long serialVersionUID = 9171446624885086692L; private static final long serialVersionUID = 9171446624885086692L;
private WebServer server; private transient WebServer server;
public void init() throws ServletException { public void init() throws ServletException {
ServletConfig config = getServletConfig(); ServletConfig config = getServletConfig();
......
...@@ -12,6 +12,8 @@ import java.sql.SQLException; ...@@ -12,6 +12,8 @@ import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
import org.h2.util.ObjectUtils;
import org.h2.util.StringUtils; import org.h2.util.StringUtils;
/** /**
...@@ -133,8 +135,8 @@ public class MultiDimension { ...@@ -133,8 +135,8 @@ public class MultiDimension {
Long[] from = new Long[len]; Long[] from = new Long[len];
Long[] to = new Long[len]; Long[] to = new Long[len];
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
from[i] = new Long(ranges[i][0]); from[i] = ObjectUtils.getLong(ranges[i][0]);
to[i] = new Long(ranges[i][1]); to[i] = ObjectUtils.getLong(ranges[i][1]);
} }
prep.setObject(1, from); prep.setObject(1, from);
prep.setObject(2, to); prep.setObject(2, to);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论