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

Source code conventions

上级 68f814b3
...@@ -44,6 +44,8 @@ import org.h2.value.Value; ...@@ -44,6 +44,8 @@ import org.h2.value.Value;
public class TestFunctions extends TestBase implements AggregateFunction { public class TestFunctions extends TestBase implements AggregateFunction {
static int count; static int count;
private static int countOfCallsToTestCache;
/** /**
* Run just this test. * Run just this test.
...@@ -933,8 +935,6 @@ public class TestFunctions extends TestBase implements AggregateFunction { ...@@ -933,8 +935,6 @@ public class TestFunctions extends TestBase implements AggregateFunction {
conn.close(); conn.close();
} }
private static int countOfCallsToTestCache;
private void testCachingOfDeterministicFunctionAlias() throws SQLException { private void testCachingOfDeterministicFunctionAlias() throws SQLException {
deleteDb("functions"); deleteDb("functions");
Connection conn = getConnection("functions"); Connection conn = getConnection("functions");
...@@ -949,6 +949,8 @@ public class TestFunctions extends TestBase implements AggregateFunction { ...@@ -949,6 +949,8 @@ 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
*/ */
public static synchronized ResultSet testCache() { public static synchronized ResultSet testCache() {
countOfCallsToTestCache++; countOfCallsToTestCache++;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论