提交 41194e1c authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting

上级 c0d8e5fc
...@@ -154,7 +154,7 @@ public class TestFunctions extends TestBase implements AggregateFunction { ...@@ -154,7 +154,7 @@ public class TestFunctions extends TestBase implements AggregateFunction {
/** /**
* This method is called via reflection from the database. * This method is called via reflection from the database.
* *
* @return a result set * @return a result set
*/ */
public static ResultSet varArgsFunctionTable(int... values) throws SQLException { public static ResultSet varArgsFunctionTable(int... values) throws SQLException {
...@@ -1324,7 +1324,7 @@ public class TestFunctions extends TestBase implements AggregateFunction { ...@@ -1324,7 +1324,7 @@ public class TestFunctions extends TestBase implements AggregateFunction {
stat.executeUpdate("TRUNCATE TABLE T"); stat.executeUpdate("TRUNCATE TABLE T");
stat.executeUpdate("INSERT INTO T VALUES (TIMESTAMP '1985-01-01 08:12:34.560')"); stat.executeUpdate("INSERT INTO T VALUES (TIMESTAMP '1985-01-01 08:12:34.560')");
assertResult("19850101", stat, "SELECT TO_CHAR(X, 'YYYYMMDD') FROM T"); assertResult("19850101", stat, "SELECT TO_CHAR(X, 'YYYYMMDD') FROM T");
conn.close(); conn.close();
} }
......
...@@ -804,7 +804,7 @@ public class TestSpatial extends TestBase { ...@@ -804,7 +804,7 @@ public class TestSpatial extends TestBase {
conn.close(); conn.close();
} }
} }
/** /**
* If the user mutate the geometry of the object, the object cache must not * If the user mutate the geometry of the object, the object cache must not
* be updated. * be updated.
......
...@@ -39,7 +39,7 @@ public class TestConnectionInfo extends TestBase { ...@@ -39,7 +39,7 @@ public class TestConnectionInfo extends TestBase {
testConnectionInfo(); testConnectionInfo();
testName(); testName();
} }
private void testImplicitRelativePath() throws Exception { private void testImplicitRelativePath() throws Exception {
if (SysProperties.IMPLICIT_RELATIVE_PATH) { if (SysProperties.IMPLICIT_RELATIVE_PATH) {
return; return;
......
...@@ -223,7 +223,7 @@ public class TestTools extends TestBase { ...@@ -223,7 +223,7 @@ public class TestTools extends TestBase {
rs = new SimpleResultSet(); rs = new SimpleResultSet();
rs.setAutoClose(false); rs.setAutoClose(false);
rs.addColumn("a", Types.BIGINT, 0, 0); rs.addColumn("a", Types.BIGINT, 0, 0);
rs.addColumn("b", Types.BINARY, 0, 0); rs.addColumn("b", Types.BINARY, 0, 0);
rs.addColumn("c", Types.BOOLEAN, 0, 0); rs.addColumn("c", Types.BOOLEAN, 0, 0);
...@@ -429,7 +429,7 @@ public class TestTools extends TestBase { ...@@ -429,7 +429,7 @@ public class TestTools extends TestBase {
assertEquals(ResultSet.TYPE_SCROLL_INSENSITIVE, rs.getType()); assertEquals(ResultSet.TYPE_SCROLL_INSENSITIVE, rs.getType());
assertTrue(rs.getStatement() == null); assertTrue(rs.getStatement() == null);
assertFalse(rs.isClosed()); assertFalse(rs.isClosed());
rs.beforeFirst(); rs.beforeFirst();
assertEquals(0, rs.getRow()); assertEquals(0, rs.getRow());
assertTrue(rs.next()); assertTrue(rs.next());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论