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

Reduce log output

上级 44a16bd2
...@@ -61,7 +61,7 @@ public class TestDateStorage extends TestBase { ...@@ -61,7 +61,7 @@ public class TestDateStorage extends TestBase {
ArrayList<TimeZone> distinct = TestDate.getDistinctTimeZones(); ArrayList<TimeZone> distinct = TestDate.getDistinctTimeZones();
try { try {
for (TimeZone tz : distinct) { for (TimeZone tz : distinct) {
println("insert using " + tz.getID()); // println("insert using " + tz.getID());
TimeZone.setDefault(tz); TimeZone.setDefault(tz);
DateTimeUtils.resetCalendar(); DateTimeUtils.resetCalendar();
conn = getConnection(db); conn = getConnection(db);
...@@ -76,9 +76,9 @@ public class TestDateStorage extends TestBase { ...@@ -76,9 +76,9 @@ public class TestDateStorage extends TestBase {
} }
conn.close(); conn.close();
} }
printTime("inserted"); // printTime("inserted");
for (TimeZone target : distinct) { for (TimeZone target : distinct) {
println("select from " + target.getID()); // println("select from " + target.getID());
if ("Pacific/Kiritimati".equals(target.getID())) { if ("Pacific/Kiritimati".equals(target.getID())) {
// there is a problem with this time zone, but it seems // there is a problem with this time zone, but it seems
// unrelated to this database (possibly wrong timezone // unrelated to this database (possibly wrong timezone
...@@ -105,7 +105,7 @@ public class TestDateStorage extends TestBase { ...@@ -105,7 +105,7 @@ public class TestDateStorage extends TestBase {
TimeZone.setDefault(defaultTimeZone); TimeZone.setDefault(defaultTimeZone);
DateTimeUtils.resetCalendar(); DateTimeUtils.resetCalendar();
} }
printTime("done"); // printTime("done");
conn = getConnection(db); conn = getConnection(db);
stat = conn.createStatement(); stat = conn.createStatement();
stat.execute("drop table date_list"); stat.execute("drop table date_list");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论