private void logMissingRegions(PartitionedRegion region){
  String namesOfMissing="";
  if (!missingChildren.isEmpty()) {
    namesOfMissing=String.join("\n\t",missingChildren);
  }
  String multipleChildren;
  String singular="";
  String plural="s";
  multipleChildren=missingChildren.size() > 1 ? plural : singular;
  namesOfMissing=String.join("\n\t",multipleChildren,namesOfMissing);
  logger.warn(LocalizedMessage.create(LocalizedStrings.ColocationLogger_PERSISTENT_DATA_RECOVERY_OF_REGION_PREVENTED_BY_OFFLINE_COLOCATED_CHILDREN,new Object[]{region.getFullPath(),namesOfMissing}));
}

private void logMissingRegions ( PartitionedRegion region ) { String namesOfMissing = "" ; if ( ! missingChildren . isEmpty ( ) ) { namesOfMissing = String . join ( "\n\t" , missingChildren ) ; } String multipleChildren ; String singular = "" ; String plural = "s" ; multipleChildren = missingChildren . size ( ) > 1 ? plural : singular ; namesOfMissing = String . join ( "\n\t" , multipleChildren , namesOfMissing ) ; logger . warn ( LocalizedMessage . create ( LocalizedStrings . ColocationLogger_PERSISTENT_DATA_RECOVERY_OF_REGION_PREVENTED_BY_OFFLINE_COLOCATED_CHILDREN , new Object [ ] { region . getFullPath ( ) , namesOfMissing } ) ) ; }
write the a logger warning for a pr that has colocated child regions that are missing .
