Skip to content

Commit

Permalink
fix spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gnespolino committed Feb 21, 2024
1 parent 95e4967 commit 600cb0e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ public synchronized NdcConfiguration getNdcConfiguration() {
}

@Override
public void writeConfigKey(ActualConfigService.ConfigKey key, String writtenBy, Object value) {
public synchronized void writeConfigKey(ActualConfigService.ConfigKey key, String writtenBy, Object value) {
actualConfigService.writeConfigKey(key, writtenBy, value);
ndcConfiguration = null;
}

@Override
public void setNdConfig(Map<ActualConfigService.ConfigKey, Object> config, String writtenBy) {
public synchronized void setNdConfig(Map<ActualConfigService.ConfigKey, Object> config, String writtenBy) {
actualConfigService.setNdConfig(config, writtenBy);
ndcConfiguration = null;
}

@Override
public void removeConfigKey(ActualConfigService.ConfigKey configKey, String writtenBy) {
public synchronized void removeConfigKey(ActualConfigService.ConfigKey configKey, String writtenBy) {
actualConfigService.removeConfigKey(configKey, writtenBy);
ndcConfiguration = null;
}
Expand Down

0 comments on commit 600cb0e

Please sign in to comment.