You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by xi...@apache.org on 2020/12/22 08:07:04 UTC
[shardingsphere] branch master updated: Remove useless SPI
dependency (#8719)
This is an automated email from the ASF dual-hosted git repository.
xiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new c69a4a6 Remove useless SPI dependency (#8719)
c69a4a6 is described below
commit c69a4a685fba141cf292f58d6d41c1aeae88b5b3
Author: Haoran Meng <me...@gmail.com>
AuthorDate: Tue Dec 22 16:06:38 2020 +0800
Remove useless SPI dependency (#8719)
* Remove useless SPI dependency
* Remove useless SPI dependency
---
.../repository/api/config/GovernanceCenterConfiguration.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/config/GovernanceCenterConfiguration.java b/shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/config/GovernanceCenterConfiguration.java
index 3aa9b61..2b98ee1 100644
--- a/shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/config/GovernanceCenterConfiguration.java
+++ b/shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/config/GovernanceCenterConfiguration.java
@@ -18,7 +18,7 @@
package org.apache.shardingsphere.governance.repository.api.config;
import lombok.Getter;
-import org.apache.shardingsphere.infra.config.TypedSPIConfiguration;
+import lombok.RequiredArgsConstructor;
import java.util.Properties;
@@ -26,12 +26,12 @@ import java.util.Properties;
* Governance center configuration.
*/
@Getter
-public final class GovernanceCenterConfiguration extends TypedSPIConfiguration {
+@RequiredArgsConstructor
+public final class GovernanceCenterConfiguration {
+
+ private final String type;
private final String serverLists;
- public GovernanceCenterConfiguration(final String type, final String serverLists, final Properties props) {
- super(type, props);
- this.serverLists = serverLists;
- }
+ private final Properties props;
}