From 17008be3ff40e5d2ca074bc6dd26e252f2a9ff11 Mon Sep 17 00:00:00 2001 From: wupengfei2 <13261419485@163.com> Date: Thu, 30 May 2019 15:36:18 +0800 Subject: [PATCH] delete useless options of postgresql (#533) --- .../store/postgresql/PostgresqlOptions.java | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlOptions.java b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlOptions.java index 6d2d6b57dd..75b48c6831 100644 --- a/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlOptions.java +++ b/hugegraph-postgresql/src/main/java/com/baidu/hugegraph/backend/store/postgresql/PostgresqlOptions.java @@ -20,9 +20,6 @@ package com.baidu.hugegraph.backend.store.postgresql; import com.baidu.hugegraph.backend.store.mysql.MysqlOptions; -import com.baidu.hugegraph.config.ConfigOption; - -import static com.baidu.hugegraph.config.OptionChecker.disallowEmpty; public class PostgresqlOptions extends MysqlOptions { @@ -39,28 +36,4 @@ public static synchronized PostgresqlOptions instance() { } return instance; } - - public static final ConfigOption JDBC_DRIVER = - new ConfigOption<>( - "jdbc.driver", - "The JDBC driver class to connect database.", - disallowEmpty(), - "org.postgresql.Driver" - ); - - public static final ConfigOption JDBC_URL = - new ConfigOption<>( - "jdbc.url", - "The url of database in JDBC format.", - disallowEmpty(), - "jdbc:postgresql://127.0.0.1:5432/" - ); - - public static final ConfigOption JDBC_USERNAME = - new ConfigOption<>( - "jdbc.username", - "The username to login database.", - disallowEmpty(), - "postgres" - ); }