You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/01/21 03:57:57 UTC

[shardingsphere] branch master updated: Add final for ContextManagerBuilderParameter (#14972)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang 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 8d5f382  Add final for ContextManagerBuilderParameter (#14972)
8d5f382 is described below

commit 8d5f382c4d727cad47abda972ecb064359f053b2
Author: Liang Zhang <te...@163.com>
AuthorDate: Fri Jan 21 11:57:06 2022 +0800

    Add final for ContextManagerBuilderParameter (#14972)
    
    * Refactor DataSourcePropertiesValidator
    
    * Add final for ContextManagerBuilderParameter
---
 .../mode/manager/ContextManagerBuilderParameter.java   | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/shardingsphere-mode/shardingsphere-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManagerBuilderParameter.java b/shardingsphere-mode/shardingsphere-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManagerBuilderParameter.java
index fd4c47f..1d2f925 100644
--- a/shardingsphere-mode/shardingsphere-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManagerBuilderParameter.java
+++ b/shardingsphere-mode/shardingsphere-mode-core/src/main/java/org/apache/shardingsphere/mode/manager/ContextManagerBuilderParameter.java
@@ -35,21 +35,21 @@ import java.util.Properties;
 @Getter
 public final class ContextManagerBuilderParameter {
     
-    private ModeConfiguration modeConfig; 
+    private final ModeConfiguration modeConfig;
     
-    private Map<String, Map<String, DataSource>> dataSourcesMap;
+    private final Map<String, Map<String, DataSource>> dataSourcesMap;
     
-    private Map<String, Collection<RuleConfiguration>> schemaRuleConfigs;
+    private final Map<String, Collection<RuleConfiguration>> schemaRuleConfigs;
     
-    private Collection<RuleConfiguration> globalRuleConfigs;
+    private final Collection<RuleConfiguration> globalRuleConfigs;
     
-    private Properties props;
+    private final Properties props;
     
-    private boolean isOverwrite;
+    private final boolean isOverwrite;
     
-    private String schemaName;
+    private final String schemaName;
     
-    private Collection<String> labels;
+    private final Collection<String> labels;
     
-    private InstanceDefinition instanceDefinition;
+    private final InstanceDefinition instanceDefinition;
 }