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

Source code switching using //## has been simplified.

上级 4a053407
...@@ -17,9 +17,9 @@ import org.h2.message.DbException; ...@@ -17,9 +17,9 @@ import org.h2.message.DbException;
import org.h2.message.TraceSystem; import org.h2.message.TraceSystem;
import org.h2.upgrade.DbUpgrade; import org.h2.upgrade.DbUpgrade;
/*## Java 1.7 begin ## /*## Java 1.7 ##
import java.util.logging.Logger; import java.util.logging.Logger;
## Java 1.7 end ##*/ //*/
/** /**
* The database driver. An application should not use this class directly. The * The database driver. An application should not use this class directly. The
...@@ -138,11 +138,11 @@ public class Driver implements java.sql.Driver { ...@@ -138,11 +138,11 @@ public class Driver implements java.sql.Driver {
/** /**
* [Not supported] * [Not supported]
*/ */
/*## Java 1.7 begin ## /*## Java 1.7 ##
public Logger getParentLogger() { public Logger getParentLogger() {
return null; return null;
} }
## Java 1.7 end ##*/ //*/
/** /**
* INTERNAL * INTERNAL
......
...@@ -116,25 +116,21 @@ public class SysProperties { ...@@ -116,25 +116,21 @@ public class SysProperties {
* System property <code>h2.check</code> (default: true).<br /> * System property <code>h2.check</code> (default: true).<br />
* Assertions in the database engine. * Assertions in the database engine.
*/ */
//## CHECK begin ## //## CHECK ##
public static final boolean CHECK = Utils.getProperty("h2.check", true); public static final boolean CHECK = Utils.getProperty("h2.check", true);
//## CHECK end ## /*/
/*## NO_CHECK begin ##
public static final boolean CHECK = false; public static final boolean CHECK = false;
## NO_CHECK end ##*/ //*/
/** /**
* System property <code>h2.check2</code> (default: true).<br /> * System property <code>h2.check2</code> (default: true).<br />
* Additional assertions in the database engine. * Additional assertions in the database engine.
*/ */
//## CHECK begin ## //## CHECK ##
public static final boolean CHECK2 = Utils.getProperty("h2.check2", false); public static final boolean CHECK2 = Utils.getProperty("h2.check2", false);
//## CHECK end ## /*/
/*## NO_CHECK begin ##
public static final boolean CHECK2 = false; public static final boolean CHECK2 = false;
## NO_CHECK end ##*/ //*/
/** /**
* System property <code>h2.clientTraceDirectory</code> (default: * System property <code>h2.clientTraceDirectory</code> (default:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论