Skip to content

Commit

Permalink
Correct @parameter config of field of ConfigCenterConfig (apache#3688)
Browse files Browse the repository at this point in the history
  • Loading branch information
tswstarplanet authored Mar 20, 2019
1 parent 660624c commit ad5f9f9
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void setAddress(String address) {
this.address = address;
}

@Parameter(key = Constants.CONFIG_CLUSTER_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_CLUSTER_KEY)
public String getCluster() {
return cluster;
}
Expand All @@ -104,7 +104,7 @@ public void setCluster(String cluster) {
this.cluster = cluster;
}

@Parameter(key = Constants.CONFIG_NAMESPACE_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_NAMESPACE_KEY)
public String getNamespace() {
return namespace;
}
Expand All @@ -113,7 +113,7 @@ public void setNamespace(String namespace) {
this.namespace = namespace;
}

@Parameter(key = Constants.CONFIG_GROUP_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_GROUP_KEY)
public String getGroup() {
return group;
}
Expand All @@ -122,7 +122,7 @@ public void setGroup(String group) {
this.group = group;
}

@Parameter(key = Constants.CONFIG_CHECK_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_CHECK_KEY)
public Boolean isCheck() {
return check;
}
Expand All @@ -131,7 +131,7 @@ public void setCheck(Boolean check) {
this.check = check;
}

@Parameter(key = Constants.CONFIG_ENABLE_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_ENABLE_KEY)
public Boolean isHighestPriority() {
return highestPriority;
}
Expand All @@ -156,7 +156,7 @@ public void setPassword(String password) {
this.password = password;
}

@Parameter(key = Constants.CONFIG_TIMEOUT_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_TIMEOUT_KEY)
public Long getTimeout() {
return timeout;
}
Expand All @@ -165,7 +165,7 @@ public void setTimeout(Long timeout) {
this.timeout = timeout;
}

@Parameter(key = Constants.CONFIG_CONFIGFILE_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_CONFIGFILE_KEY)
public String getConfigFile() {
return configFile;
}
Expand All @@ -183,7 +183,7 @@ public void setAppConfigFile(String appConfigFile) {
this.appConfigFile = appConfigFile;
}

@Parameter(key = Constants.CONFIG_APPNAME_KEY, useKeyAsProperty = false)
@Parameter(key = Constants.CONFIG_APPNAME_KEY)
public String getAppName() {
return appName;
}
Expand Down

0 comments on commit ad5f9f9

Please sign in to comment.