From 08e2705e381304ab5f5ddf49a5f85200fca010cc Mon Sep 17 00:00:00 2001 From: jason <2353220944@qq.com> Date: Sat, 21 Dec 2024 13:33:29 +0800 Subject: [PATCH] code format --- .../framework/apollo/internals/RemoteConfigRepository.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java b/apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java index 7a028909..6fe20a57 100644 --- a/apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java +++ b/apollo-client/src/main/java/com/ctrip/framework/apollo/internals/RemoteConfigRepository.java @@ -265,20 +265,16 @@ private ApolloConfig loadApolloConfig() { ApolloConfig result = response.getBody(); if (result != null) { - ConfigSyncType configSyncType = ConfigSyncType.fromString(result.getConfigSyncType()); if (configSyncType == ConfigSyncType.INCREMENTAL_SYNC) { - ApolloConfig previousConfig = m_configCache.get(); - Map previousConfigurations = (previousConfig != null) ? previousConfig.getConfigurations() : null; - result.setConfigurations( mergeConfigurations(previousConfigurations, result.getConfigurationChanges())); - } + } logger.debug("Loaded config for {}: {}", m_namespace, result);