Skip to content

Commit

Permalink
[skip ci] Format source code
Browse files Browse the repository at this point in the history
  • Loading branch information
backpaper0 committed May 11, 2020
1 parent 2764a38 commit 73fff10
Showing 1 changed file with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,16 @@ public DomaConfigBuilder initializeDomaConfigBuilder() {
}

public static enum DialectType {
STANDARD(StandardDialect::new), SQLITE(SqliteDialect::new), DB2(Db2Dialect::new), MSSQL(
MssqlDialect::new), MSSQL2008(Mssql2008Dialect::new), MYSQL(
MysqlDialect::new), POSTGRES(PostgresDialect::new), ORACLE(
OracleDialect::new), H2(H2Dialect::new), HSQL(HsqldbDialect::new);
STANDARD(StandardDialect::new),
SQLITE(SqliteDialect::new),
DB2(Db2Dialect::new),
MSSQL(MssqlDialect::new),
MSSQL2008(Mssql2008Dialect::new),
MYSQL(MysqlDialect::new),
POSTGRES(PostgresDialect::new),
ORACLE(OracleDialect::new),
H2(H2Dialect::new),
HSQL(HsqldbDialect::new);

private final Supplier<Dialect> constructor;

Expand All @@ -186,8 +192,8 @@ public Dialect create() {
}

public static enum SqlFileRepositoryType {
NO_CACHE(NoCacheSqlFileRepository::new), GREEDY_CACHE(
GreedyCacheSqlFileRepository::new);
NO_CACHE(NoCacheSqlFileRepository::new),
GREEDY_CACHE(GreedyCacheSqlFileRepository::new);

private final Supplier<SqlFileRepository> constructor;

Expand All @@ -201,10 +207,14 @@ public SqlFileRepository create() {
}

public static enum NamingType {
NONE(Naming.NONE), LOWER_CASE(Naming.LOWER_CASE), UPPER_CASE(Naming.UPPER_CASE), SNAKE_LOWER_CASE(
Naming.SNAKE_LOWER_CASE), SNAKE_UPPER_CASE(Naming.SNAKE_UPPER_CASE), LENIENT_SNAKE_LOWER_CASE(
Naming.LENIENT_SNAKE_LOWER_CASE), LENIENT_SNAKE_UPPER_CASE(
Naming.LENIENT_SNAKE_UPPER_CASE), DEFAULT(Naming.DEFAULT);
NONE(Naming.NONE),
LOWER_CASE(Naming.LOWER_CASE),
UPPER_CASE(Naming.UPPER_CASE),
SNAKE_LOWER_CASE(Naming.SNAKE_LOWER_CASE),
SNAKE_UPPER_CASE(Naming.SNAKE_UPPER_CASE),
LENIENT_SNAKE_LOWER_CASE(Naming.LENIENT_SNAKE_LOWER_CASE),
LENIENT_SNAKE_UPPER_CASE(Naming.LENIENT_SNAKE_UPPER_CASE),
DEFAULT(Naming.DEFAULT);

private final Naming naming;

Expand Down

0 comments on commit 73fff10

Please sign in to comment.