Skip to content

Commit

Permalink
Revert "Correct @parameter config of field of ConfigCenterConfig (apa…
Browse files Browse the repository at this point in the history
…che#3688)"

This reverts commit ad5f9f9.
  • Loading branch information
chickenlj committed Apr 11, 2019
1 parent b70b3ea commit 8f18938
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)
@Parameter(key = Constants.CONFIG_CLUSTER_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_NAMESPACE_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_GROUP_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_CHECK_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_ENABLE_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_TIMEOUT_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_CONFIGFILE_KEY, useKeyAsProperty = false)
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)
@Parameter(key = Constants.CONFIG_APPNAME_KEY, useKeyAsProperty = false)
public String getAppName() {
return appName;
}
Expand Down

0 comments on commit 8f18938

Please sign in to comment.