You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ts...@apache.org on 2019/03/20 10:03:04 UTC

[incubator-dubbo] branch master updated: Correct @Parameter config of field of ConfigCenterConfig (#3688)

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

tswstarplanet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new ad5f9f9  Correct @Parameter config of field of ConfigCenterConfig (#3688)
ad5f9f9 is described below

commit ad5f9f909e6282381499e63070c6175014c81935
Author: Taosheng Wei <ts...@apache.org>
AuthorDate: Wed Mar 20 18:02:43 2019 +0800

    Correct @Parameter config of field of ConfigCenterConfig (#3688)
---
 .../java/org/apache/dubbo/config/ConfigCenterConfig.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
index 45677bf..4b88702 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java
@@ -95,7 +95,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.address = address;
     }
 
-    @Parameter(key = Constants.CONFIG_CLUSTER_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_CLUSTER_KEY)
     public String getCluster() {
         return cluster;
     }
@@ -104,7 +104,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.cluster = cluster;
     }
 
-    @Parameter(key = Constants.CONFIG_NAMESPACE_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_NAMESPACE_KEY)
     public String getNamespace() {
         return namespace;
     }
@@ -113,7 +113,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.namespace = namespace;
     }
 
-    @Parameter(key = Constants.CONFIG_GROUP_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_GROUP_KEY)
     public String getGroup() {
         return group;
     }
@@ -122,7 +122,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.group = group;
     }
 
-    @Parameter(key = Constants.CONFIG_CHECK_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_CHECK_KEY)
     public Boolean isCheck() {
         return check;
     }
@@ -131,7 +131,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.check = check;
     }
 
-    @Parameter(key = Constants.CONFIG_ENABLE_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_ENABLE_KEY)
     public Boolean isHighestPriority() {
         return highestPriority;
     }
@@ -156,7 +156,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.password = password;
     }
 
-    @Parameter(key = Constants.CONFIG_TIMEOUT_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_TIMEOUT_KEY)
     public Long getTimeout() {
         return timeout;
     }
@@ -165,7 +165,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.timeout = timeout;
     }
 
-    @Parameter(key = Constants.CONFIG_CONFIGFILE_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_CONFIGFILE_KEY)
     public String getConfigFile() {
         return configFile;
     }
@@ -183,7 +183,7 @@ public class ConfigCenterConfig extends AbstractConfig {
         this.appConfigFile = appConfigFile;
     }
 
-    @Parameter(key = Constants.CONFIG_APPNAME_KEY, useKeyAsProperty = false)
+    @Parameter(key = Constants.CONFIG_APPNAME_KEY)
     public String getAppName() {
         return appName;
     }