This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch WithoutNullBug12 in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit b2070e3942438b5d8fa670ae517e68817581d7b5 Author: JackieTien97 <[email protected]> AuthorDate: Fri May 21 15:34:48 2021 +0800 format code --- .../db/integration/IoTDBWithoutAllNullIT.java | 28 ++++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBWithoutAllNullIT.java b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBWithoutAllNullIT.java index 100cec5..b8efe89 100644 --- a/server/src/test/java/org/apache/iotdb/db/integration/IoTDBWithoutAllNullIT.java +++ b/server/src/test/java/org/apache/iotdb/db/integration/IoTDBWithoutAllNullIT.java @@ -18,22 +18,24 @@ */ package org.apache.iotdb.db.integration; -import static org.apache.iotdb.db.constant.TestConstant.TIMESTAMP_STR; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.ResultSet; -import java.sql.Statement; import org.apache.iotdb.db.conf.IoTDBDescriptor; import org.apache.iotdb.db.utils.EnvironmentUtils; import org.apache.iotdb.jdbc.Config; + import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.ResultSet; +import java.sql.Statement; + +import static org.apache.iotdb.db.constant.TestConstant.TIMESTAMP_STR; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + public class IoTDBWithoutAllNullIT { private static final String[] dataSet = @@ -192,7 +194,7 @@ public class IoTDBWithoutAllNullIT { public void withoutAllNullTest4() { String[] retArray1 = new String[] {"11,root.testWithoutAllNull.d1,24,true,55.5"}; try (Connection connection = - DriverManager.getConnection("jdbc:iotdb://127.0.0.1:6667/", "root", "root"); + DriverManager.getConnection("jdbc:iotdb://127.0.0.1:6667/", "root", "root"); Statement statement = connection.createStatement()) { boolean hasResultSet = statement.execute( @@ -207,7 +209,7 @@ public class IoTDBWithoutAllNullIT { resultSet.getString(TIMESTAMP_STR) + "," + resultSet.getString("Device") - +"," + + "," + resultSet.getString("last_value(s1)") + "," + resultSet.getString("last_value(s2)") @@ -228,7 +230,7 @@ public class IoTDBWithoutAllNullIT { public void withoutAllNullTest5() { String[] retArray1 = new String[] {"6,root.testWithoutAllNull.d1,20,true,null"}; try (Connection connection = - DriverManager.getConnection("jdbc:iotdb://127.0.0.1:6667/", "root", "root"); + DriverManager.getConnection("jdbc:iotdb://127.0.0.1:6667/", "root", "root"); Statement statement = connection.createStatement()) { boolean hasResultSet = statement.execute( @@ -243,7 +245,7 @@ public class IoTDBWithoutAllNullIT { resultSet.getString(TIMESTAMP_STR) + "," + resultSet.getString("Device") - +"," + + "," + resultSet.getString("last_value(s1)") + "," + resultSet.getString("last_value(s2)")
