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);