Skip to content

Commit

Permalink
0005909: Some methods are synchronized unnecessarily in
Browse files Browse the repository at this point in the history
AbstractParameterService
  • Loading branch information
Catherine Quamme authored and Catherine Quamme committed Jul 3, 2023
1 parent 713313a commit 94e7861
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -181,7 +181,7 @@ public Date getLastTimeParameterWereCached() {
return new Date(lastTimeParameterWereCached);
}

public synchronized String getExternalId() {
public String getExternalId() {
if (externalId == null) {
String value = getString(ParameterConstants.EXTERNAL_ID);
value = substituteScripts(value);
Expand All @@ -193,7 +193,7 @@ public synchronized String getExternalId() {
return externalId;
}

public synchronized String getSyncUrl() {
public String getSyncUrl() {
if (syncUrl == null) {
String value = getString(ParameterConstants.SYNC_URL);
value = substituteScripts(value);
Expand All @@ -208,7 +208,7 @@ public synchronized String getSyncUrl() {
return syncUrl;
}

public synchronized String getNodeGroupId() {
public String getNodeGroupId() {
if (nodeGroupId == null) {
String value = getString(ParameterConstants.NODE_GROUP_ID);
value = substituteScripts(value);
Expand All @@ -220,7 +220,7 @@ public synchronized String getNodeGroupId() {
return nodeGroupId;
}

public synchronized String getRegistrationUrl() {
public String getRegistrationUrl() {
if (registrationUrl == null) {
String value = getString(ParameterConstants.REGISTRATION_URL);
value = substituteScripts(value);
Expand All @@ -235,7 +235,7 @@ public synchronized String getRegistrationUrl() {
return registrationUrl;
}

public synchronized String getEngineName() {
public String getEngineName() {
if (engineName == null) {
String value = getString(ParameterConstants.ENGINE_NAME, "SymmetricDS");
value = substituteScripts(value);
Expand Down

0 comments on commit 94e7861

Please sign in to comment.