提交 e38cd27e authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

cleanup - unnecessary semicolons, static keyword

上级 af4738bb
......@@ -44,7 +44,7 @@ public class Mode {
* Multiple rows with identical values in indexed columns are not allowed in
* unique index.
*/
FORBID_ANY_DUPLICATES;
FORBID_ANY_DUPLICATES
}
private static final HashMap<String, Mode> MODES = new HashMap<>();
......
......@@ -31,5 +31,5 @@ public enum FileLockMethod {
/**
* Use the file system to lock the file; don't use a separate lock file.
*/
FS;
FS
}
......@@ -975,7 +975,7 @@ public class ToChar {
}
/** Represents a capitalization / casing strategy. */
static public enum Capitalization {
public enum Capitalization {
/**
* All letters are uppercased.
......
......@@ -542,7 +542,7 @@ class ToDateTokenizer {
/**
* The format tokens.
*/
public static enum FormatTokenEnum {
public enum FormatTokenEnum {
// 4-digit year
YYYY(PARSLET_YEAR),
// 4-digit year with sign (- = B.C.)
......
......@@ -10,7 +10,7 @@ import org.h2.api.ErrorCode;
import org.h2.message.DbException;
public class ValueEnum extends ValueEnumBase {
private static enum Validation {
private enum Validation {
DUPLICATE,
EMPTY,
INVALID,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论