Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
9850bca0
提交
9850bca0
authored
9月 12, 2011
作者:
noelgrandin@gmail.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
clean up some eclipse javadoc warnings
上级
ca13091b
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
7 行增加
和
13 行删除
+7
-13
PageBtreeNode.java
h2/src/main/org/h2/index/PageBtreeNode.java
+2
-2
Data.java
h2/src/main/org/h2/store/Data.java
+1
-1
Backup.java
h2/src/main/org/h2/tools/Backup.java
+0
-1
TestAutoServer.java
h2/src/test/org/h2/test/server/TestAutoServer.java
+0
-2
TestMultiThread.java
h2/src/test/org/h2/test/synth/thread/TestMultiThread.java
+0
-1
TestFileLockSerialized.java
h2/src/test/org/h2/test/unit/TestFileLockSerialized.java
+0
-2
ProxyCodeGenerator.java
h2/src/test/org/h2/test/utils/ProxyCodeGenerator.java
+1
-1
ModelUtils.java
h2/src/tools/org/h2/jaqu/ModelUtils.java
+3
-3
没有找到文件。
h2/src/main/org/h2/index/PageBtreeNode.java
浏览文件 @
9850bca0
...
@@ -472,7 +472,7 @@ public class PageBtreeNode extends PageBtree {
...
@@ -472,7 +472,7 @@ public class PageBtreeNode extends PageBtree {
* Set the cursor to the first row of the next page.
* Set the cursor to the first row of the next page.
*
*
* @param cursor the cursor
* @param cursor the cursor
* @param
ROW the current row
* @param
pageId id of the next page
*/
*/
void
nextPage
(
PageBtreeCursor
cursor
,
int
pageId
)
{
void
nextPage
(
PageBtreeCursor
cursor
,
int
pageId
)
{
int
i
;
int
i
;
...
@@ -501,7 +501,7 @@ public class PageBtreeNode extends PageBtree {
...
@@ -501,7 +501,7 @@ public class PageBtreeNode extends PageBtree {
* Set the cursor to the last row of the previous page.
* Set the cursor to the last row of the previous page.
*
*
* @param cursor the cursor
* @param cursor the cursor
* @param
ROW the current row
* @param
pageId id of the previous page
*/
*/
void
previousPage
(
PageBtreeCursor
cursor
,
int
pageId
)
{
void
previousPage
(
PageBtreeCursor
cursor
,
int
pageId
)
{
int
i
;
int
i
;
...
...
h2/src/main/org/h2/store/Data.java
浏览文件 @
9850bca0
...
@@ -203,7 +203,7 @@ public class Data {
...
@@ -203,7 +203,7 @@ public class Data {
* For performance reasons the internal representation of a String is
* For performance reasons the internal representation of a String is
* similar to UTF-8, but not exactly UTF-8.
* similar to UTF-8, but not exactly UTF-8.
*
*
* @param len
* @param len
the length of the resulting string
* @return the String
* @return the String
*/
*/
private
String
readString
(
int
len
)
{
private
String
readString
(
int
len
)
{
...
...
h2/src/main/org/h2/tools/Backup.java
浏览文件 @
9850bca0
...
@@ -95,7 +95,6 @@ public class Backup extends Tool {
...
@@ -95,7 +95,6 @@ public class Backup extends Tool {
* @param db the source database name (null if there is only one database, and
* @param db the source database name (null if there is only one database, and
* and empty string to backup all files in this directory)
* and empty string to backup all files in this directory)
* @param quiet don't print progress information
* @param quiet don't print progress information
* @throws SQLException
*/
*/
public
static
void
execute
(
String
zipFileName
,
String
directory
,
String
db
,
boolean
quiet
)
throws
SQLException
{
public
static
void
execute
(
String
zipFileName
,
String
directory
,
String
db
,
boolean
quiet
)
throws
SQLException
{
try
{
try
{
...
...
h2/src/test/org/h2/test/server/TestAutoServer.java
浏览文件 @
9850bca0
...
@@ -58,8 +58,6 @@ public class TestAutoServer extends TestBase {
...
@@ -58,8 +58,6 @@ public class TestAutoServer extends TestBase {
/**
/**
* Tests basic AUTO_SERVER functionality
* Tests basic AUTO_SERVER functionality
*
* @throws Exception
*/
*/
private
void
testAutoServer
()
throws
Exception
{
private
void
testAutoServer
()
throws
Exception
{
if
(
config
.
memory
||
config
.
networked
)
{
if
(
config
.
memory
||
config
.
networked
)
{
...
...
h2/src/test/org/h2/test/synth/thread/TestMultiThread.java
浏览文件 @
9850bca0
...
@@ -54,7 +54,6 @@ abstract class TestMultiThread extends Thread {
...
@@ -54,7 +54,6 @@ abstract class TestMultiThread extends Thread {
/**
/**
* This method is called once after all threads have been stopped.
* This method is called once after all threads have been stopped.
* @throws SQLException
*/
*/
abstract
void
finalTest
()
throws
SQLException
;
abstract
void
finalTest
()
throws
SQLException
;
...
...
h2/src/test/org/h2/test/unit/TestFileLockSerialized.java
浏览文件 @
9850bca0
...
@@ -469,8 +469,6 @@ public class TestFileLockSerialized extends TestBase {
...
@@ -469,8 +469,6 @@ public class TestFileLockSerialized extends TestBase {
*
*
* Also, if a checkpoint started before beforeWriting, and ends between
* Also, if a checkpoint started before beforeWriting, and ends between
* between beforeWriting and checkWritingAllowed, then the same error occurs.
* between beforeWriting and checkWritingAllowed, then the same error occurs.
*
* @throws Exception
*/
*/
private
void
testCheckpointInUpdateRaceCondition
()
throws
Exception
{
private
void
testCheckpointInUpdateRaceCondition
()
throws
Exception
{
boolean
longRun
=
false
;
boolean
longRun
=
false
;
...
...
h2/src/test/org/h2/test/utils/ProxyCodeGenerator.java
浏览文件 @
9850bca0
...
@@ -79,7 +79,7 @@ public class ProxyCodeGenerator {
...
@@ -79,7 +79,7 @@ public class ProxyCodeGenerator {
* Generate a class that implements all static methods of the given class,
* Generate a class that implements all static methods of the given class,
* but as non-static.
* but as non-static.
*
*
* @param c the class to extend
* @param c
lazz
the class to extend
*/
*/
void
generateStaticProxy
(
Class
<?>
clazz
)
{
void
generateStaticProxy
(
Class
<?>
clazz
)
{
imports
.
clear
();
imports
.
clear
();
...
...
h2/src/tools/org/h2/jaqu/ModelUtils.java
浏览文件 @
9850bca0
...
@@ -113,7 +113,7 @@ public class ModelUtils {
...
@@ -113,7 +113,7 @@ public class ModelUtils {
*
*
* @param fieldDef the field to map
* @param fieldDef the field to map
* @param strictTypeMapping throws a RuntimeException if type is unsupported
* @param strictTypeMapping throws a RuntimeException if type is unsupported
* @return
* @return
SQL type
*/
*/
static
String
getDataType
(
FieldDefinition
fieldDef
,
boolean
strictTypeMapping
)
{
static
String
getDataType
(
FieldDefinition
fieldDef
,
boolean
strictTypeMapping
)
{
Class
<?>
fieldClass
=
fieldDef
.
field
.
getType
();
Class
<?>
fieldClass
=
fieldDef
.
field
.
getType
();
...
@@ -134,10 +134,10 @@ public class ModelUtils {
...
@@ -134,10 +134,10 @@ public class ModelUtils {
/**
/**
* Returns the Java class for a given SQL type.
* Returns the Java class for a given SQL type.
*
*
* @param sqlType
* @param sqlType
the SQL type
* @param dateTimeClass the preferred date class (java.util.Date or
* @param dateTimeClass the preferred date class (java.util.Date or
* java.sql.Timestamp)
* java.sql.Timestamp)
* @return
* @return
Class of type
*/
*/
static
Class
<?>
getClassForSqlType
(
String
sqlType
,
static
Class
<?>
getClassForSqlType
(
String
sqlType
,
Class
<?
extends
java
.
util
.
Date
>
dateTimeClass
)
{
Class
<?
extends
java
.
util
.
Date
>
dateTimeClass
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论