提交 071b730c 编写于 作者: Z zyyang

change

上级 5f636309
...@@ -41,7 +41,7 @@ public class DatetimeBefore1970Test { ...@@ -41,7 +41,7 @@ public class DatetimeBefore1970Test {
} }
@BeforeClass @BeforeClass
public void beforeClass() { public static void beforeClass() {
try { try {
Class.forName("com.taosdata.jdbc.TSDBDriver"); Class.forName("com.taosdata.jdbc.TSDBDriver");
conn = DriverManager.getConnection("jdbc:TAOS://127.0.0.1:6030/?user=root&password=taosdata"); conn = DriverManager.getConnection("jdbc:TAOS://127.0.0.1:6030/?user=root&password=taosdata");
...@@ -57,7 +57,7 @@ public class DatetimeBefore1970Test { ...@@ -57,7 +57,7 @@ public class DatetimeBefore1970Test {
} }
@AfterClass @AfterClass
public void afterClass() { public static void afterClass() {
try { try {
if (conn != null) if (conn != null)
conn.close(); conn.close();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册