Source:
<code>public void fromJson(JsonObject json) { mapConfig = new MapConfig(); JsonValue name = json.get("name"); if (name != null && !name.isNull()) { mapConfig.setName(getString(json, "name")); } <START> JsonValue quorumName = json.get("quorumName"); <END> if (quorumName != null && !quorumName.isNull()) { mapConfig.setSplitBrainProtectionName(getString(json, "quorumName")); } mapConfig.setMaxSizeConfig(new MaxSizeConfig().setSize(getInt(json, "maxSize")) .setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy.valueOf(getString(json, "maxSizePolicy")))); mapConfig.setEvictionPolicy(EvictionPolicy.valueOf(getString(json, "evictionPolicy"))); mapConfig.setInMemoryFormat(InMemoryFormat.valueOf(getString(json, "memoryFormat"))); mapConfig.setCacheDeserializedValues(CacheDeserializedValues.valueOf(getString(json, "cacheDeserializedValues"))); mapConfig.setMetadataPolicy(MetadataPolicy.valueOf(getString(json, "metadataPolicy"))); mapConfig.setBackupCount(getInt(json, "backupCount")); mapConfig.setAsyncBackupCount(getInt(json, "asyncBackupCount")); mapConfig.setTimeToLiveSeconds(getInt(json, "ttl")); mapConfig.setMaxIdleSeconds(getInt(json, "maxIdle")); mapConfig.setReadBackupData(getBoolean(json, "readBackupData")); mapConfig.setStatisticsEnabled(getBoolean(json, "statisticsEnabled")); MergePolicyConfigDTO mergePolicyConfigDTO = new MergePolicyConfigDTO(); mergePolicyConfigDTO.fromJson(getObject(json, "mergePolicy")); mapConfig.setMergePolicyConfig(mergePolicyConfigDTO.getConfig()); MapStoreConfigDTO mapStoreConfigDTO = new MapStoreConfigDTO(); mapStoreConfigDTO.fromJson(getObject(json, "mapStoreConfig")); mapConfig.setMapStoreConfig(mapStoreConfigDTO.getConfig()); JsonValue nearCacheConfig = json.get("nearCacheConfig"); if (nearCacheConfig != null && !nearCacheConfig.isNull()) { NearCacheConfigDTO nearCacheConfigDTO = new NearCacheConfigDTO(); nearCacheConfigDTO.fromJson(nearCacheConfig.asObject()); mapConfig.setNearCacheConfig(nearCacheConfigDTO.getConfig()); } }</code><technical_language>align name renamed term SplitBrainProtectionName</technical_language>

Target:
public void fromJson(JsonObject json) { mapConfig = new MapConfig(); JsonValue name = json.get("name"); if (name != null && !name.isNull()) { mapConfig.setName(getString(json, "name")); } JsonValue splitBrainProtectionName = json.get("splitBrainProtectionName"); if (splitBrainProtectionName != null && !splitBrainProtectionName.isNull()) { mapConfig.setSplitBrainProtectionName(getString(json, "splitBrainProtectionName")); } mapConfig.setMaxSizeConfig(new MaxSizeConfig().setSize(getInt(json, "maxSize")) .setMaxSizePolicy(MaxSizeConfig.MaxSizePolicy.valueOf(getString(json, "maxSizePolicy")))); mapConfig.setEvictionPolicy(EvictionPolicy.valueOf(getString(json, "evictionPolicy"))); mapConfig.setInMemoryFormat(InMemoryFormat.valueOf(getString(json, "memoryFormat"))); mapConfig.setCacheDeserializedValues(CacheDeserializedValues.valueOf(getString(json, "cacheDeserializedValues"))); mapConfig.setMetadataPolicy(MetadataPolicy.valueOf(getString(json, "metadataPolicy"))); mapConfig.setBackupCount(getInt(json, "backupCount")); mapConfig.setAsyncBackupCount(getInt(json, "asyncBackupCount")); mapConfig.setTimeToLiveSeconds(getInt(json, "ttl")); mapConfig.setMaxIdleSeconds(getInt(json, "maxIdle")); mapConfig.setReadBackupData(getBoolean(json, "readBackupData")); mapConfig.setStatisticsEnabled(getBoolean(json, "statisticsEnabled")); MergePolicyConfigDTO mergePolicyConfigDTO = new MergePolicyConfigDTO(); mergePolicyConfigDTO.fromJson(getObject(json, "mergePolicy")); mapConfig.setMergePolicyConfig(mergePolicyConfigDTO.getConfig()); MapStoreConfigDTO mapStoreConfigDTO = new MapStoreConfigDTO(); mapStoreConfigDTO.fromJson(getObject(json, "mapStoreConfig")); mapConfig.setMapStoreConfig(mapStoreConfigDTO.getConfig()); JsonValue nearCacheConfig = json.get("nearCacheConfig"); if (nearCacheConfig != null && !nearCacheConfig.isNull()) { NearCacheConfigDTO nearCacheConfigDTO = new NearCacheConfigDTO(); nearCacheConfigDTO.fromJson(nearCacheConfig.asObject()); mapConfig.setNearCacheConfig(nearCacheConfigDTO.getConfig()); } }