Source:
<code>private ResultModel toMissingDiskStoresTabularResult( PersistentMemberDetails[] missingDiskStores, final List<ColocatedRegionDetails> missingColocatedRegions) { ResultModel result = new ResultModel(); boolean hasMissingDiskStores = missingDiskStores.length != 0; <START> boolean hasMissingColocatedRegions = <END> missingColocatedRegions != null && !missingColocatedRegions.isEmpty(); TabularResultModel missingDiskStoreSection = result.addTable(MISSING_DISK_STORES_SECTION); if (hasMissingDiskStores) { missingDiskStoreSection.setHeader("Missing Disk Stores"); for (PersistentMemberDetails persistentMemberDetails : missingDiskStores) { missingDiskStoreSection.accumulate("Disk Store ID", persistentMemberDetails.getDiskStoreId()); missingDiskStoreSection.accumulate("Host", persistentMemberDetails.getHost()); missingDiskStoreSection.accumulate("Directory", persistentMemberDetails.getDirectory()); } } else { missingDiskStoreSection.setHeader("No missing disk store found"); } TabularResultModel missingRegionsSection = result.addTable(MISSING_COLOCATED_REGIONS_SECTION); if (missingColocatedRegions == null) { missingRegionsSection.setHeader("No caching members found."); } else if (!missingColocatedRegions.isEmpty()) { missingRegionsSection.setHeader("Missing Colocated Regions"); for (ColocatedRegionDetails colocatedRegionDetails : missingColocatedRegions) { missingRegionsSection.accumulate("Host", colocatedRegionDetails.getHost()); missingRegionsSection.accumulate("Distributed Member", colocatedRegionDetails.getMember()); missingRegionsSection.accumulate("Parent Region", colocatedRegionDetails.getParent()); missingRegionsSection.accumulate("Missing Colocated Region", colocatedRegionDetails.getChild()); } } else { missingRegionsSection.setHeader("No missing colocated region found"); } return result; }</code><technical_language>this variable is anymore</technical_language>

Target:
private ResultModel toMissingDiskStoresTabularResult( PersistentMemberDetails[] missingDiskStores, final List<ColocatedRegionDetails> missingColocatedRegions) { ResultModel result = new ResultModel(); TabularResultModel missingDiskStoreSection = result.addTable(MISSING_DISK_STORES_SECTION); if (missingDiskStores.length != 0) { missingDiskStoreSection.setHeader("Missing Disk Stores"); for (PersistentMemberDetails persistentMemberDetails : missingDiskStores) { missingDiskStoreSection.accumulate("Disk Store ID", persistentMemberDetails.getDiskStoreId()); missingDiskStoreSection.accumulate("Host", persistentMemberDetails.getHost()); missingDiskStoreSection.accumulate("Directory", persistentMemberDetails.getDirectory()); } } else { missingDiskStoreSection.setHeader("No missing disk store found"); } TabularResultModel missingRegionsSection = result.addTable(MISSING_COLOCATED_REGIONS_SECTION); if (missingColocatedRegions == null) { missingRegionsSection.setHeader("No caching members found."); } else if (!missingColocatedRegions.isEmpty()) { missingRegionsSection.setHeader("Missing Colocated Regions"); for (ColocatedRegionDetails colocatedRegionDetails : missingColocatedRegions) { missingRegionsSection.accumulate("Host", colocatedRegionDetails.getHost()); missingRegionsSection.accumulate("Distributed Member", colocatedRegionDetails.getMember()); missingRegionsSection.accumulate("Parent Region", colocatedRegionDetails.getParent()); missingRegionsSection.accumulate("Missing Colocated Region", colocatedRegionDetails.getChild()); } } else { missingRegionsSection.setHeader("No missing colocated region found"); } return result; }