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

prepare release

上级 ac659dd7
......@@ -20,8 +20,7 @@ call build -quiet spellcheck javadocImpl jarClient
echo %time:~0,8% JDK 1.4
call java15 >nul 2>nul
set bcp=%JAVA_HOME14%\jre\lib\
call build -quiet clean -Dversion=1.4 switchSource -Dbcp=%bcp%\rt.jar;%bcp%\jsse.jar compile
call build -quiet installer mavenDeployCentral
call build -quiet clean -Dversion=1.4 switchSource -Dbcp=%bcp%\rt.jar;%bcp%\jsse.jar compile installer mavenDeployCentral
rem call build -quiet compile benchmark
rem == Copy the benchmark results and update the performance page and diagram
......
......@@ -19,8 +19,7 @@ echo $(date "+%H:%M:%S") JDK 1.4
export BCP=/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes
JAVA_HOME=$JAVA15
PATH=$JAVA15/bin:$PATH
./build.sh -quiet clean -Dversion=1.4 switchSource -Dbcp=$BCP/classes.jar:$BCP/jsse.jar compile
./build.sh -quiet installer mavenDeployCentral
./build.sh -quiet clean -Dversion=1.4 switchSource -Dbcp=$BCP/classes.jar:$BCP/jsse.jar compile installer mavenDeployCentral
# ./build.sh -quiet compile benchmark
# == Copy the benchmark results
......
......@@ -30,7 +30,8 @@ public class Db {
Utils.newWeakIdentityHashMap();
private final Connection conn;
private final Map<Class< ? >, TableDefinition< ? >> classMap = Utils.newHashMap();
private final Map<Class< ? >, TableDefinition< ? >> classMap =
Utils.newHashMap();
Db(Connection conn) {
this.conn = conn;
......
......@@ -35,7 +35,8 @@ public class Define {
currentTableDefinition.setTableName(tableName);
}
static synchronized <T> void define(TableDefinition<T> tableDefinition, Table table) {
static synchronized <T> void define(TableDefinition<T> tableDefinition,
Table table) {
currentTableDefinition = tableDefinition;
currentTable = table;
tableDefinition.mapObject(table);
......
......@@ -24,7 +24,8 @@ import java.util.Set;
//## Java 1.5 begin ##
public class WeakIdentityHashMap<K, V> implements Map<K, V> {
private static final int MAX_LOAD = 90;
private static final WeakReference<Object> DELETED_KEY = new WeakReference<Object>(null);
private static final WeakReference<Object> DELETED_KEY =
new WeakReference<Object>(null);
private int mask, len, size, deletedCount, level;
private int maxSize, minSize, maxDeleted;
private WeakReference<K>[] keys;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论