Skip to content

Commit

Permalink
refactor(): rollback meaningless change
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawven committed Oct 8, 2024
1 parent 5e310b7 commit b6e1fb7
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@
*/
public class DefaultConfigManager implements ConfigManager {

protected Map<String, Config> m_configs = Maps.newConcurrentMap();
protected Map<String, Object> m_configLocks = Maps.newConcurrentMap();
protected Map<String, ConfigFile> m_configFiles = Maps.newConcurrentMap();
protected Map<String, Object> m_configFileLocks = Maps.newConcurrentMap();
private Map<String, Config> m_configs = Maps.newConcurrentMap();
private Map<String, Object> m_configLocks = Maps.newConcurrentMap();
private Map<String, ConfigFile> m_configFiles = Maps.newConcurrentMap();
private Map<String, Object> m_configFileLocks = Maps.newConcurrentMap();
private ConfigFactoryManager m_factoryManager;

public DefaultConfigManager() {
m_factoryManager = ApolloInjector.getInstance(ConfigFactoryManager.class);

}

@Override
Expand All @@ -69,8 +68,7 @@ public Config getConfig(String namespace) {
}

@Override
public ConfigFile getConfigFile(String namespace,
ConfigFileFormat configFileFormat) {
public ConfigFile getConfigFile(String namespace, ConfigFileFormat configFileFormat) {
String namespaceFileName = String.format("%s.%s", namespace, configFileFormat.getValue());
ConfigFile configFile = m_configFiles.get(namespaceFileName);

Expand Down

0 comments on commit b6e1fb7

Please sign in to comment.