提交 4dd94a57 authored 作者: LaughingMan's avatar LaughingMan

Move code out of a try statement to reduce intendation depth

上级 05d1acec
......@@ -104,7 +104,6 @@ public class CreateCluster extends Tool {
Statement statSource = null;
PipedReader pipeReader = null;
try {
org.h2.Driver.load();
// verify that the database doesn't exist,
......@@ -131,6 +130,7 @@ public class CreateCluster extends Tool {
urlTarget);
}
try {
// use cluster='' so connecting is possible
// even if the cluster is enabled
connSource = DriverManager.getConnection(urlSource +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论